Merge pull request #3998 from eed3si9n/wip/fix-3143

Add test to confirm leak is gone
This commit is contained in:
eugene yokota 2018-03-07 18:16:58 -05:00 committed by GitHub
commit 051d09e921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,8 @@
val commonSettings = Seq(
crossScalaVersions := (0 to 6).map(i => s"2.10.$i") ++ (0 to 11).map(i => s"2.11.$i") ++ (0 to 2).map(i => s"2.12.$i")
)
val p1 = project.in(file("p1")).settings(commonSettings)
val p2 = project.in(file("p2")).settings(commonSettings)
val p3 = project.in(file("p3")).settings(commonSettings)
val p4 = project.in(file("p4")).settings(commonSettings)

View File

@ -0,0 +1,3 @@
object B {
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
}

View File

@ -0,0 +1,3 @@
class A {
def show(what: String): Unit = println(what)
}

View File

@ -0,0 +1,3 @@
object B {
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
}

View File

@ -0,0 +1,3 @@
class A {
def show(what: String): Unit = println(what)
}

View File

@ -0,0 +1,3 @@
object B {
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
}

View File

@ -0,0 +1,3 @@
class A {
def show(what: String): Unit = println(what)
}

View File

@ -0,0 +1,3 @@
object B {
def show(what: String): String = s"String interpolation is ${what.toUpperCase}!"
}

View File

@ -0,0 +1,3 @@
class A {
def show(what: String): Unit = println(what)
}

View File

@ -0,0 +1,3 @@
# https://github.com/sbt/sbt/issues/3143
> crossScalaVersions
> +version