summaryrefslogblamecommitdiff
path: root/test/files/neg/t997.check
blob: b118792229298b82e515c0839f068a5b7dfe5bc1 (plain) (tree)
1
2
3
4
                                                                                                     

                                                           
               
t997.scala:13: error: too many patterns for object Foo offering (String, String): expected 2, found 3
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
                 ^
one error found