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

pre-sema errors are duplicated with build on save #2129

Open
xdBronch opened this issue Dec 31, 2024 · 0 comments
Open

pre-sema errors are duplicated with build on save #2129

xdBronch opened this issue Dec 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xdBronch
Copy link
Contributor

xdBronch commented Dec 31, 2024

Zig Version

0.14.0-dev.2578+ec60156f1

ZLS Version

0.14.0-dev.328+b36f7c4b

Client / Code Editor / Extensions

No response

Steps to Reproduce and Observed Behavior

trigger some error that zls can pickup on its own, e.g. undeclared identifier and save

pub fn main() !void {
    a;
}

get 2 diagnostics
image

Expected Behavior

errors are deduplicated

Relevant log output

No response

@xdBronch xdBronch added the bug Something isn't working label Dec 31, 2024
@xdBronch xdBronch changed the title astgen errors are duplicated with build on save pre-sema errors are duplicated with build on save Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant