Skip to content

Commit 09ae674

Browse files
committed
Additional test case
1 parent 335351b commit 09ae674

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

tests/neg/i6063.scala

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
object i0 {
2+
trait I1[i0, I1]
3+
def I1[I1[I1]](I1: I1[ ; // error
4+
I1[I1]
5+
}
6+
7+
object test {
8+
object I0 {
9+
trait i2[I1, i2]
10+
def i2[i2[i2]](i2: i2[ ]) = i2 // error
11+
i2[i2]}
12+
}

0 commit comments

Comments
 (0)