microsoft / microsoft/typespec

Can we have a better error recovery

Open
#1,440 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.