File tree 5 files changed +35
-35
lines changed 5 files changed +35
-35
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ object Test {
18
18
val i : Int = ??? : A // limitation // error
19
19
20
20
case _ : IntExpr =>
21
- val a : A = 0 // limitation // error
21
+ val a : A = 0
22
22
val i : Int = ??? : A // limitation // error
23
23
24
24
case _ : Expr { type T = Int } =>
25
- val a : A = 0 // limitation // error
25
+ val a : A = 0
26
26
val i : Int = ??? : A // limitation // error
27
27
}
28
28
@@ -36,11 +36,11 @@ object Test {
36
36
val i : Int = ??? : A // error
37
37
38
38
case _ : IntExpr =>
39
- val a : A = 0 // limitation // error
39
+ val a : A = 0
40
40
val i : Int = ??? : A // error
41
41
42
42
case _ : Expr { type T = Int } =>
43
- val a : A = 0 // limitation // error
43
+ val a : A = 0
44
44
val i : Int = ??? : A // error
45
45
}
46
46
Original file line number Diff line number Diff line change @@ -28,23 +28,23 @@ object Test {
28
28
def foo [A ](e : IndirectExprExact [A ]) = e match {
29
29
case _ : AltIndirectIntLit =>
30
30
val a : A = 0 // error
31
- val i : Int = ??? : A // limitation // error
31
+ val i : Int = ??? : A
32
32
33
33
case _ : AltIndirectExprSub [Int ] =>
34
34
val a : A = 0 // error
35
- val i : Int = ??? : A // limitation // error
35
+ val i : Int = ??? : A
36
36
37
37
case _ : AltIndirectExprSub2 [Int ] =>
38
38
val a : A = 0 // error
39
- val i : Int = ??? : A // limitation // error
39
+ val i : Int = ??? : A
40
40
41
41
case _ : AltIndirectIntExpr =>
42
- val a : A = 0 // limitation // error
43
- val i : Int = ??? : A // limitation // error
42
+ val a : A = 0
43
+ val i : Int = ??? : A
44
44
45
45
case _ : AltIndirectExprExact [Int ] =>
46
- val a : A = 0 // limitation // error
47
- val i : Int = ??? : A // limitation // error
46
+ val a : A = 0
47
+ val i : Int = ??? : A
48
48
}
49
49
50
50
def bar [A ](e : IndirectExprSub [A ]) = e match {
@@ -83,11 +83,11 @@ object Test {
83
83
val i : Int = ??? : A // error
84
84
85
85
case _ : AltIndirectIntExpr =>
86
- val a : A = 0 // limitation // error
86
+ val a : A = 0
87
87
val i : Int = ??? : A // error
88
88
89
89
case _ : AltIndirectExprExact [Int ] =>
90
- val a : A = 0 // limitation // error
90
+ val a : A = 0
91
91
val i : Int = ??? : A // error
92
92
}
93
93
}
Original file line number Diff line number Diff line change @@ -28,23 +28,23 @@ object Test {
28
28
def foo [A ](e : AltIndirectExprExact [A ]) = e match {
29
29
case _ : IndirectIntLit =>
30
30
val a : A = 0 // error
31
- val i : Int = ??? : A // limitation // error
31
+ val i : Int = ??? : A
32
32
33
33
case _ : IndirectExprSub [Int ] =>
34
34
val a : A = 0 // error
35
- val i : Int = ??? : A // limitation // error
35
+ val i : Int = ??? : A
36
36
37
37
case _ : IndirectExprSub2 [Int ] =>
38
38
val a : A = 0 // error
39
- val i : Int = ??? : A // limitation // error
39
+ val i : Int = ??? : A
40
40
41
41
case _ : IndirectIntExpr =>
42
- val a : A = 0 // limitation // error
43
- val i : Int = ??? : A // limitation // error
42
+ val a : A = 0
43
+ val i : Int = ??? : A
44
44
45
45
case _ : IndirectExprExact [Int ] =>
46
- val a : A = 0 // limitation // error
47
- val i : Int = ??? : A // limitation // error
46
+ val a : A = 0
47
+ val i : Int = ??? : A
48
48
}
49
49
50
50
def bar [A ](e : AltIndirectExprSub [A ]) = e match {
@@ -83,11 +83,11 @@ object Test {
83
83
val i : Int = ??? : A // error
84
84
85
85
case _ : IndirectIntExpr =>
86
- val a : A = 0 // limitation // error
86
+ val a : A = 0
87
87
val i : Int = ??? : A // error
88
88
89
89
case _ : IndirectExprExact [Int ] =>
90
- val a : A = 0 // limitation // error
90
+ val a : A = 0
91
91
val i : Int = ??? : A // error
92
92
}
93
93
}
Original file line number Diff line number Diff line change @@ -39,11 +39,11 @@ object Test {
39
39
val i : Int = ??? : A // limitation // error
40
40
41
41
case _ : IndirectIntExpr =>
42
- val a : A = 0 // limitation // error
43
- val i : Int = ??? : A // limitation // error
42
+ val a : A = 0
43
+ val i : Int = ??? : A
44
44
45
45
case _ : IndirectExprExact [Int ] =>
46
- val a : A = 0 // limitation // error
46
+ val a : A = 0
47
47
val i : Int = ??? : A // limitation // error
48
48
}
49
49
@@ -61,11 +61,11 @@ object Test {
61
61
val i : Int = ??? : A // error
62
62
63
63
case _ : IndirectIntExpr =>
64
- val a : A = 0 // limitation // error
64
+ val a : A = 0
65
65
val i : Int = ??? : A // error
66
66
67
67
case _ : IndirectExprExact [Int ] =>
68
- val a : A = 0 // limitation // error
68
+ val a : A = 0
69
69
val i : Int = ??? : A // error
70
70
}
71
71
}
Original file line number Diff line number Diff line change @@ -28,19 +28,19 @@ object Test {
28
28
def foo [A ](e : IndirectExprExact [A ]) = e match {
29
29
case _ : IntLit =>
30
30
val a : A = 0 // error
31
- val i : Int = ??? : A // limitation // error
31
+ val i : Int = ??? : A
32
32
33
33
case _ : ExprSub [Int ] =>
34
34
val a : A = 0 // error
35
- val i : Int = ??? : A // limitation // error
35
+ val i : Int = ??? : A
36
36
37
37
case _ : IntExpr =>
38
- val a : A = 0 // limitation // error
39
- val i : Int = ??? : A // limitation // error
38
+ val a : A = 0
39
+ val i : Int = ??? : A
40
40
41
41
case _ : ExprExact [Int ] =>
42
- val a : A = 0 // limitation // error
43
- val i : Int = ??? : A // limitation // error
42
+ val a : A = 0
43
+ val i : Int = ??? : A
44
44
}
45
45
46
46
def bar [A ](e : IndirectExprSub [A ]) = e match {
@@ -71,11 +71,11 @@ object Test {
71
71
val i : Int = ??? : A // error
72
72
73
73
case _ : IntExpr =>
74
- val a : A = 0 // limitation // error
74
+ val a : A = 0
75
75
val i : Int = ??? : A // error
76
76
77
77
case _ : ExprExact [Int ] =>
78
- val a : A = 0 // limitation // error
78
+ val a : A = 0
79
79
val i : Int = ??? : A // error
80
80
}
81
81
}
You can’t perform that action at this time.
0 commit comments