Skip to content

Commit b28b769

Browse files
authored
Merge pull request #2561 from dotty-staging/fix-#1650
Fix #1650: Add regression test
2 parents 52b84e2 + 9a3b255 commit b28b769

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/neg/i1650.scala

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object Test {
2+
test4(test4$default$1) // error
3+
def test4[T[P]](x: T[T[List[T[X forSome { type X }]]]]) = ??? // error // error
4+
def test4$default$1[T[P]]: T[Int] = ???
5+
}

0 commit comments

Comments
 (0)