diff options
Diffstat (limited to 'tests/neg/i50-volatile.scala')
-rw-r--r-- | tests/neg/i50-volatile.scala | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/neg/i50-volatile.scala b/tests/neg/i50-volatile.scala index 9098b47d6..434dbf48c 100644 --- a/tests/neg/i50-volatile.scala +++ b/tests/neg/i50-volatile.scala @@ -3,22 +3,22 @@ class Test { class Inner } type A <: Base { - type X = String + type X = String // error } type B <: { - type X = Int + type X = Int // error } lazy val o: A & B = ??? - class Client extends o.Inner + class Client extends o.Inner // error // error - def xToString(x: o.X): String = x + def xToString(x: o.X): String = x // error def intToString(i: Int): String = xToString(i) } object Test2 { - import Test.o._ + import Test.o._ // error def xToString(x: X): String = x |