summaryrefslogtreecommitdiff
path: root/test/files/neg/t997.check
blob: 8c41060ba2f3f30189322c5234a3111fe5fecbda (plain) (blame)
1
2
3
4
5
6
7
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)) }
                    ^
two errors found