blob: 50dba0d2720547cf9004f3222c08b1b0d85a9e7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
t5878.scala:1: error: value class may not unbox to itself
case class Foo(x: Bar) extends AnyVal
^
t5878.scala:2: error: value class may not unbox to itself
case class Bar(x: Foo) extends AnyVal
^
t5878.scala:4: error: value class may not unbox to itself
class Foo1(val x: Bar1) extends AnyVal
^
t5878.scala:5: error: value class may not unbox to itself
class Bar1(val x: Foo1) extends AnyVal
^
four errors found
|