Skip to content

Commit ee9960f

Browse files
authored
Merge pull request #5740 from dotty-staging/fix-#4370
Fix #4370: Add regression test
2 parents 7482735 + b309c38 commit ee9960f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/neg/i4370.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
object App {
2+
class Foo { type R = A } // error
3+
type A = List[Foo#R]
4+
}

0 commit comments

Comments
 (0)