Skip to content

More Unreachable Code Undetected #2767

Open
@barrett-ruth

Description

@barrett-ruth

How are you using the lua-language-server?

NeoVim

Which OS are you using?

Linux

What is the issue affecting?

Diagnostics/Syntax Checking

Expected Behaviour

if false then
    print()
end

print() is marked as unreachable

Actual Behaviour

no diagnostics

Reproduction steps

Open a file with such contents

Additional Notes

No response

Log File

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    feat/diagnosticsRelated to the diagnostics feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions