summaryrefslogtreecommitdiff
path: root/test/files/neg/t997.check
blob: be1e92c369ed1d365606b0a9c2917771f13cdfbe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
t997.scala:13: error: wrong number of patterns for object Foo offering (String, String): expected 2, found 3
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
                 ^
t997.scala:13: error: wrong number of patterns for object Foo offering (String, String): expected 2, found 3
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
                    ^
t997.scala:13: error: not found: value a
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
                                                  ^
three errors found