diff options
Diffstat (limited to 'test/files/pos/bug2168.scala')
-rw-r--r-- | test/files/pos/bug2168.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/pos/bug2168.scala b/test/files/pos/bug2168.scala index 1cf73446a8..e3b24b6a72 100644 --- a/test/files/pos/bug2168.scala +++ b/test/files/pos/bug2168.scala @@ -1,4 +1,4 @@ -object Test extends Application { +object Test extends App { def foo1(x: AnyRef) = x match { case x: Function0[_] => x() } def foo2(x: AnyRef) = x match { case x: Function0[Any] => x() } } |