diff options
Diffstat (limited to 'test/files/neg/bug997.check')
-rw-r--r-- | test/files/neg/bug997.check | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/neg/bug997.check b/test/files/neg/bug997.check index ba6dfd94bb..13ea7f8fdb 100644 --- a/test/files/neg/bug997.check +++ b/test/files/neg/bug997.check @@ -1,13 +1,13 @@ bug997.scala:7: error: wrong number of arguments for object Foo of type Foo.type -"x" match { case Foo(a) => Console.println(a) }
+"x" match { case Foo(a) => Console.println(a) } ^ bug997.scala:7: error: not found: value a -"x" match { case Foo(a) => Console.println(a) }
+"x" match { case Foo(a) => Console.println(a) } ^ bug997.scala:13: error: wrong number of arguments for object Foo of type Foo.type -"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
+"x" match { case Foo(a, b, c) => Console.println((a,b,c)) } ^ bug997.scala:13: error: not found: value a -"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
+"x" match { case Foo(a, b, c) => Console.println((a,b,c)) } ^ four errors found |