lua-language-server icon indicating copy to clipboard operation
lua-language-server copied to clipboard

An unknown symbol is used instead of a dot

Open RomanSpector opened this issue 3 years ago • 0 comments

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

RomanSpector avatar Aug 08 '22 10:08 RomanSpector