diff options
Diffstat (limited to 'test/files/neg/bug997.scala')
-rw-r--r-- | test/files/neg/bug997.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/neg/bug997.scala b/test/files/neg/bug997.scala index b6897e62df..42b46174d6 100644 --- a/test/files/neg/bug997.scala +++ b/test/files/neg/bug997.scala @@ -1,7 +1,7 @@ // An extractor with 2 results object Foo { def unapply(x : String) = Some(Pair(x, x)) } -object Test extends Application { +object Test extends App { // Prints 'x'; ought not to compile (or maybe a should be the Pair?). "x" match { case Foo(a) => Console.println(a) } |