Skip to content

Commit bd181f5

Browse files
committed
Add regression test for #11230
Fixes #11230
1 parent e90c953 commit bd181f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/pos/i11230.scala

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
trait TyperCrasher {
2+
class CrashTyper(i: Int) {}
3+
object CrashTyper {
4+
def init: CrashTyper = CrashTyper(0)
5+
}
6+
}

0 commit comments

Comments
 (0)