Skip to content

Commit b309c38

Browse files
committed
Fix #4370: Add regression test
1 parent da1e196 commit b309c38

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)