|
1 |
| -sammy_restrictions.scala:35: error: type mismatch; |
| 1 | +sammy_restrictions.scala:38: error: type mismatch; |
2 | 2 | found : () => Int
|
3 | 3 | required: NoAbstract
|
4 | 4 | (() => 0) : NoAbstract
|
5 | 5 | ^
|
6 |
| -sammy_restrictions.scala:36: error: type mismatch; |
| 6 | +sammy_restrictions.scala:39: error: type mismatch; |
7 | 7 | found : Int => Int
|
8 | 8 | required: TwoAbstract
|
9 | 9 | ((x: Int) => 0): TwoAbstract
|
10 | 10 | ^
|
11 |
| -sammy_restrictions.scala:37: error: type mismatch; |
| 11 | +sammy_restrictions.scala:40: error: type mismatch; |
12 | 12 | found : Int => Int
|
13 | 13 | required: NoEmptyConstructor
|
14 | 14 | ((x: Int) => 0): NoEmptyConstructor
|
15 | 15 | ^
|
16 |
| -sammy_restrictions.scala:38: error: type mismatch; |
| 16 | +sammy_restrictions.scala:41: error: type mismatch; |
17 | 17 | found : Int => Int
|
18 | 18 | required: MultipleConstructorLists
|
19 | 19 | ((x: Int) => 0): MultipleConstructorLists
|
20 | 20 | ^
|
21 |
| -sammy_restrictions.scala:39: error: type mismatch; |
| 21 | +sammy_restrictions.scala:42: error: type mismatch; |
22 | 22 | found : Int => Int
|
23 | 23 | required: OneEmptySecondaryConstructor
|
24 | 24 | ((x: Int) => 0): OneEmptySecondaryConstructor // derived class must have an empty *primary* to call.
|
25 | 25 | ^
|
26 |
| -sammy_restrictions.scala:40: error: type mismatch; |
| 26 | +sammy_restrictions.scala:43: error: type mismatch; |
27 | 27 | found : Int => Int
|
28 | 28 | required: MultipleMethodLists
|
29 | 29 | ((x: Int) => 0): MultipleMethodLists
|
30 | 30 | ^
|
31 |
| -sammy_restrictions.scala:41: error: type mismatch; |
| 31 | +sammy_restrictions.scala:44: error: type mismatch; |
32 | 32 | found : Int => Int
|
33 | 33 | required: ImplicitConstructorParam
|
34 | 34 | ((x: Int) => 0): ImplicitConstructorParam
|
35 | 35 | ^
|
36 |
| -sammy_restrictions.scala:42: error: type mismatch; |
| 36 | +sammy_restrictions.scala:45: error: type mismatch; |
37 | 37 | found : Int => Int
|
38 | 38 | required: ImplicitMethodParam
|
39 | 39 | ((x: Int) => 0): ImplicitMethodParam
|
40 | 40 | ^
|
41 |
| -sammy_restrictions.scala:43: error: type mismatch; |
| 41 | +sammy_restrictions.scala:46: error: type mismatch; |
42 | 42 | found : Int => Int
|
43 | 43 | required: PolyMethod
|
44 | 44 | ((x: Int) => 0): PolyMethod
|
45 | 45 | ^
|
46 |
| -sammy_restrictions.scala:44: error: type mismatch; |
| 46 | +sammy_restrictions.scala:47: error: type mismatch; |
47 | 47 | found : Int => Int
|
48 | 48 | required: SelfTp
|
49 | 49 | ((x: Int) => 0): SelfTp
|
50 | 50 | ^
|
51 |
| -10 errors found |
| 51 | +sammy_restrictions.scala:48: error: type mismatch; |
| 52 | + found : Int => Int |
| 53 | + required: T1 with U1 |
| 54 | + ((x: Int) => 0): T1 with U1 |
| 55 | + ^ |
| 56 | +sammy_restrictions.scala:49: error: type mismatch; |
| 57 | + found : Int => Int |
| 58 | + required: Test.NonClassTypeRefinement |
| 59 | + (which expands to) DerivedOneAbstract with OneAbstract |
| 60 | + ((x: Int) => 0): NonClassTypeRefinement |
| 61 | + ^ |
| 62 | +12 errors found |
0 commit comments