diff options
Diffstat (limited to 'tests/pending/run/t3580.scala')
-rw-r--r-- | tests/pending/run/t3580.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/t3580.scala b/tests/pending/run/t3580.scala index 50ff6c455..f91d5a24f 100644 --- a/tests/pending/run/t3580.scala +++ b/tests/pending/run/t3580.scala @@ -6,10 +6,10 @@ object Test { class Empty extends Traversable[Nothing] { - def foreach[U](f: Nothing => U) {} + def foreach[U](f: Nothing => U): Unit = {} } - def main(args: Array[String]) { + def main(args: Array[String]): Unit = { val t = new Empty t.toStream } |