Skip to content

Commit 61f0811

Browse files
authored
Merge pull request #11516 from dotty-staging/fix-11230
Handle another case in newExpr
2 parents c037293 + bd181f5 commit 61f0811

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)