mirror of https://github.com/sbt/sbt.git
Add second test case for sbt/sbt#2411
Thanks @smarter, see sbt/sbt#2416
This commit is contained in:
parent
49431eb6f8
commit
a93f1e50c8
|
|
@ -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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -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
|
> run
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue