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

parser, checker: move error handling for user defined type duplicates to the checker to resolve parsing issues #21147

Merged
merged 3 commits into from
Mar 30, 2024

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Mar 30, 2024

Moves toward a checker error for user declared type duplicates. I think this similar too #21146. An error that has less to do with actual parsing.

It allows to resolve internal errors with e.g., vfmt and it will include more error details / other errors that the checker detected as it won't interrupt.

Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 5c06175 into vlang:master Mar 30, 2024
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants