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

The type is not determined after the bitwise operation

Open RomanSpector opened this issue 1 year ago • 1 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?

Type Checking

Expected Behaviour

image

Actual Behaviour

image

Reproduction steps

    local PACK_YZ = 1 << 20; -- okey
    local PACK_X = PACK_YZ << 1;  --- not okey

Additional Notes

No response

Log File

No response

RomanSpector avatar Jun 16 '24 17:06 RomanSpector