diff options
Diffstat (limited to 'tests/untried/pos/pos-bug1241.scala')
-rw-r--r-- | tests/untried/pos/pos-bug1241.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/untried/pos/pos-bug1241.scala b/tests/untried/pos/pos-bug1241.scala index be8615d32..1038dc304 100644 --- a/tests/untried/pos/pos-bug1241.scala +++ b/tests/untried/pos/pos-bug1241.scala @@ -1,6 +1,6 @@ object test extends App { // more.. - type T = { def hello() } + type T = { def hello(): Unit } //val x4 = new AnyRef { def hello() { println("4") } } // ok! val x4: T = new { def hello(): Unit = { println("4") } } // error! x4.hello() |