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

Add spans to compiler errors to prevent their incorrect deduplication #3838

Merged
merged 4 commits into from
Jan 23, 2023

Conversation

anton-trunov
Copy link
Contributor

@anton-trunov anton-trunov commented Jan 20, 2023

close #3380

This PR only includes spans for compiler errors but does not include them for compiler warnings. I can add it after getting some feedback on this PR. I did some experiments and it looks like warnings are not deduplicated in the same way as errors.

to prevent their incorrect deduplication

close #3380
@anton-trunov anton-trunov added the compiler: ui Mostly compiler messages label Jan 20, 2023
@anton-trunov anton-trunov self-assigned this Jan 20, 2023
@anton-trunov anton-trunov marked this pull request as ready for review January 23, 2023 10:17
@anton-trunov anton-trunov requested a review from a team January 23, 2023 10:28
@mohammadfawaz mohammadfawaz enabled auto-merge (squash) January 23, 2023 18:15
@mohammadfawaz mohammadfawaz merged commit 63670c4 into master Jan 23, 2023
@mohammadfawaz mohammadfawaz deleted the anton-trunov/add-spans-to-compiler-messages branch January 23, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler: ui Mostly compiler messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The compiler incorrectly removed non-duplicate error messages, thinking that they are duplicates
3 participants