microsoft / microsoft/typespec
Can we have a better error recovery
Open
design:needed
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
Right now if there is an error in one compilation step we don't move to the next one:
- parsing, binding and checking
- onValidate
- emitters
This design prevent many meaningless erorrs from showing up later becaues the later stage doesn't understand the bad data sent from the previous one.
However this also means that we could be hidding meaningful errors.
Contributor guide
Assessment
This issue has not been assessed yet.