stage2: fix incremental compilation handling of parse errors

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.
12087d4cbaAndrew Kelley committed on 4/8/2021, 3:36:01 AMparent4996c2b
3 files changedLine totals unavailable