Add second test case for sbt/sbt#2411

Thanks @smarter, see sbt/sbt#2416
This commit is contained in:
Martin Duhem 2016-01-24 09:42:01 +01:00
parent 49431eb6f8
commit a93f1e50c8
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,13 @@
package example
class VC(val self: Int) extends AnyVal
class A {
case class B(x: VC)
def c = B
}
object A {
def main(args: Array[String]): Unit = {
(new A).c
}
}

View File

@ -1 +1,6 @@
$ copy-file changes/A0.scala A.scala
> run
# The same test case, but involving value classes
$ copy-file changes/A1.scala A.scala
> run