diff options
Diffstat (limited to 'test/files/run/bug298.scala')
-rw-r--r-- | test/files/run/bug298.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/bug298.scala b/test/files/run/bug298.scala index c6179f1b2e..bfc219ec5a 100644 --- a/test/files/run/bug298.scala +++ b/test/files/run/bug298.scala @@ -1,4 +1,4 @@ -object Test extends Application { +object Test extends App { implicit def anyList[T]: List[T] = Nil implicit def intList: List[Int] = 42::24::Nil @@ -14,4 +14,4 @@ object Test extends Application { val t = foo[List[Tuple2[Int,Int]]] println(t) // incorrect - prints "List()" -}
\ No newline at end of file +} |