Skip to content

compile errors are duplicated with build on save #2129

Description

@xdBronch

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions