Commit ee09bea
committed
Avoid NotDefinedHere error in FirstTransform.
We saw a NotDefinedHere error for `dotc t2310.scala`:
demanding denotation of module class None$ at phase firstTransform(3) outside
defined interval: defined periods are Period(4..8, run = 2) Period(1..2, run = 2)
This is weird. Period 3 (which is FirstTransform) was missing. I don't know why, but
the problem goes away if we make InstChecks an IdentityTransformer. @DarkDimius:
Do you have an idea why this could be? Is there soemthing which requires
FirstTransform immediately after Typer?1 parent db0e6c9 commit ee09bea
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
0 commit comments