blob: af547a201dbe893361ea269e8fc1e006e67ab235 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
sammy_wrong_arity.scala:6: error: type mismatch;
found : () => Int
required: T1
(() => 0): T1
^
sammy_wrong_arity.scala:7: error: type mismatch;
found : Any => Int
required: T2
((x: Any) => 0): T2
^
sammy_wrong_arity.scala:9: error: type mismatch;
found : Any => Int
required: T0
((x: Any) => 0): T0
^
sammy_wrong_arity.scala:10: error: type mismatch;
found : Any => Int
required: T2
((x: Any) => 0): T2
^
sammy_wrong_arity.scala:12: error: type mismatch;
found : (Any, Any) => Int
required: T0
((x: Any, y: Any) => 0): T0
^
sammy_wrong_arity.scala:13: error: type mismatch;
found : (Any, Any) => Int
required: T1
((x: Any, y: Any) => 0): T1
^
sammy_wrong_arity.scala:15: error: missing parameter type
((x) => 0): T2
^
sammy_wrong_arity.scala:17: error: missing parameter type
((x) => 0): T0
^
sammy_wrong_arity.scala:18: error: missing parameter type
((x) => 0): T2
^
sammy_wrong_arity.scala:20: error: missing parameter type
((x, y) => 0): T0
^
sammy_wrong_arity.scala:20: error: missing parameter type
((x, y) => 0): T0
^
sammy_wrong_arity.scala:21: error: missing parameter type
((x, y) => 0): T1
^
sammy_wrong_arity.scala:21: error: missing parameter type
((x, y) => 0): T1
^
13 errors found
|