Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not exit analysis when a type alias is invalid #3088

Closed
lpil opened this issue May 3, 2024 · 0 comments · Fixed by #3113
Closed

Do not exit analysis when a type alias is invalid #3088

lpil opened this issue May 3, 2024 · 0 comments · Fixed by #3113
Assignees
Milestone

Comments

@lpil
Copy link
Member

lpil commented May 3, 2024

Register an error and continue analysis of the rest of the module

Split from #2766

Questions

If a type definition is invalid then it could produce a large number of error messages from the rest of the module as any place that references this type will get a "undefined type" error. Should we in keep track of there being a failed type with this name and suppress unknown type error messages relating to it? I think it would be a nice experience to only see the root error.

@lpil lpil added this to the LS01 milestone May 3, 2024
@lpil lpil self-assigned this May 8, 2024
@lpil lpil closed this as completed in #3113 May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant