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?
Annotations, Type Checking
Expected Behaviour
I expect x to be parsed as an integer:
rawset(_G, "x", 42)
print(x) -- x should be parsed as integer here
Actual Behaviour
x is parsed as integer|table instead.
Reproduction steps
rawset(_G, "x", 42)
print(x) -- x is parsed as integer|table here
Additional Notes
No response
Log File
No response