Commit b33e232
committed
Fix LazyRef#ref error recovery
The `throw` keyword was missing, so the call to `CyclicReference` did
not actually do anything. This means that LazyRef#ref could return null
when typechecking broken code, which could lead to a
NullPointerException (I observed this while compiling some code but
didn't manage to minimize it).1 parent 0bf296e commit b33e232
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2509 | 2509 | | |
2510 | 2510 | | |
2511 | 2511 | | |
2512 | | - | |
| 2512 | + | |
2513 | 2513 | | |
2514 | 2514 | | |
2515 | 2515 | | |
| |||
0 commit comments