1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
t997.scala:7: error: wrong number of arguments for object Foo
"x" match { case Foo(a) => Console.println(a) }
^
t997.scala:7: error: not found: value a
"x" match { case Foo(a) => Console.println(a) }
^
t997.scala:13: error: wrong number of arguments for object Foo
"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)) }
^
t997.scala:13: error: not found: value b
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
^
t997.scala:13: error: not found: value c
"x" match { case Foo(a, b, c) => Console.println((a,b,c)) }
^
6 errors found
|