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

Wrong warning of assign-type-mismatch #1463

Closed
sumneko opened this issue Aug 12, 2022 · 0 comments
Closed

Wrong warning of assign-type-mismatch #1463

sumneko opened this issue Aug 12, 2022 · 0 comments
Labels
bug Something isn't working feat/type check Related to the type checking feature

Comments

@sumneko
Copy link
Collaborator

sumneko commented Aug 12, 2022

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

No warning.

Actual Behaviour

Warned assign-type-mismatch

Reproduction steps

local t = {
    x = 1,
}

local x
t[x] = true

Additional Notes

No response

Log File

No response

@sumneko sumneko added bug Something isn't working feat/type check Related to the type checking feature labels Aug 12, 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 feat/type check Related to the type checking feature
Projects
None yet
Development

No branches or pull requests

1 participant