-
Notifications
You must be signed in to change notification settings - Fork 831
Open
Labels
Area-Diagnosticsmistakes and possible improvements to diagnosticsmistakes and possible improvements to diagnosticsArea-LangService-DiagnosticsFCS code analysis, diagnostics, red squiggliesFCS code analysis, diagnostics, red squiggliesFeature Improvement
Milestone
Description
While adding tests to #18311, I've noticed two things about reporting type checker errors:
-
Type checker errors are not reported in the component tests when there're any parsing errors
- This makes it less suitable for testing the compiler service, since the errors are actually produced and reported there. This behavior is, however, inline with the actual compiler (not the service), so it's not clear what is the desired option here
-
The compiler stops when encountering syntax errors. It makes failing builds fail faster, but is it the behavior that we want? I.e. when there's a parser error, it seems that unrelated type checker errors are not going to be reported. I think reporting all known errors, like we do in the service, would be much more helpful with fixing these errors.
Metadata
Metadata
Assignees
Labels
Area-Diagnosticsmistakes and possible improvements to diagnosticsmistakes and possible improvements to diagnosticsArea-LangService-DiagnosticsFCS code analysis, diagnostics, red squiggliesFCS code analysis, diagnostics, red squiggliesFeature Improvement
Type
Projects
Status
New