Skip to content

An unknown symbol is used instead of a dot #1451

@RomanSpector

Description

@RomanSpector

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

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