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

An unknown symbol is used instead of a dot #1451

Closed
RomanSpector opened this issue Aug 8, 2022 · 0 comments
Closed

An unknown symbol is used instead of a dot #1451

RomanSpector opened this issue Aug 8, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RomanSpector
Copy link

How are you using the lua-language-server?

Visual Studio Code Extension (sumneko.lua)

Which OS are you using?

Windows

What is the issue affecting?

Other

Expected Behaviour

image

Actual Behaviour

image
image

Reproduction steps

Core = {};
Core.Enum = {};

---@enum Test
Core.Enum.Test =
{
    Test1 = 1;
    Test2 = 2;
}

---@param a Test
local function test(a) end

local b = test(Core.Enum.Test.Test1)

Additional Notes

No response

Log File

No response

@sumneko sumneko added the bug Something isn't working label Aug 8, 2022
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

2 participants