Allow 'give up on this function scope, continue with next' errors in typeck #1504
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
Currently, when the check phase comes across something it really can't type, it bails out entirely and aborts the compilation. It should not be too hard to set it up to continue typechecking other function blocks, since those are mostly separate units. (Of course, getting a function declaration wrong might result in multiple errors with the same cause, but that still seems preferable to having the compile give up completely.)
The text was updated successfully, but these errors were encountered: