Skip to content

Commit 87a6ce4

Browse files
authored
Merge pull request #6117 from dotty-staging/fix-#4382
Fix #4382: Add regression test
2 parents bc51ec8 + adc2b6b commit 87a6ce4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/neg/4382.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
trait x0[x0[_]] {
2+
(??? : x0[_]): x0[Int] // error
3+
}

0 commit comments

Comments
 (0)