Before, incremental compilation would crash when trying to emit compile errors for the update after introducing a parse error. Parse errors are handled by not invalidating any existing semantic analysis. However, only the parse error must be reported, with all the other errors suppressed. Once the parse error is fixed, the new file can be treated as an update to the previously-succeeded update.
Andrew Kelley committed on 4/8/2021, 3:36:01 AMparent4996c2b
3 files changedLine totals unavailable