scala3
scala3 copied to clipboard
Fix parsing crash for update in later phases
trafficstars
Fixes #23389
@odersky I'm not quite sure I understand why the Feature.ccEnabled check fails in subsequent phases inside modOfToken. If I test this with erased, it seems to work no problem.
The ccEnabled test asks whether it's enabled for the current compilationUnit. Is that set correctly for rendering? That's where I would look.
In fact, no, the compilation unit is "<highlighting>"