Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class ExtractUsedNamesSpecification
assert(usedNames("A") === expectedNames)
}

// pending test for https://issues.scala-lang.org/browse/SI-7173
// pending test for https://github.com/scala/bug/issues/7173
it should "extract names of constants" in pendingUntilFixed {
val src = "class A { final val foo = 12; def bar: Int = foo }"
val usedNames = extractUsedNamesFromSrc(src)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ final class Dependency(val global: CallbackGlobal) extends LocateClassFile with
/*
* Some macros appear to contain themselves as original tree.
* We must check that we don't inspect the same tree over and over.
* See https://issues.scala-lang.org/browse/SI-8486
* See https://github.com/scala/bug/issues/8486
* https://github.com/sbt/sbt/issues/1237
* https://github.com/sbt/sbt/issues/1544
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ class ExtractUsedNames[GlobalType <: CallbackGlobal](val global: GlobalType)
/*
* Some macros appear to contain themselves as original tree.
* We must check that we don't inspect the same tree over and over.
* See https://issues.scala-lang.org/browse/SI-8486
* See https://github.com/scala/bug/issues/8486
* https://github.com/sbt/sbt/issues/1237
* https://github.com/sbt/sbt/issues/1544
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private[sbt] final case class Constant(
def wide = tag == ConstantLong || tag == ConstantDouble

// Override hashCode to prevent warning with -Ywarn-numeric-widen in Scala 2.10
// See https://issues.scala-lang.org/browse/SI-8340
// See https://github.com/scala/bug/issues/8340
override def hashCode: Int =
37 * (37 * (37 * (37 * (17 + tag.##) + nameIndex.##) + typeIndex.##) + value.##)
}
Expand Down