EmmyLua / IntelliJ-EmmyLua

Lua IDE/Debugger Plugin for IntelliJ IDEA
https://emmylua.github.io
Apache License 2.0
1.73k stars 290 forks source link

Local variable problems #475

Closed nick-nh closed 1 year ago

nick-nh commented 2 years ago

Environment(环境)

name version
IDEA version IC-221.5591.52
EmmyLua version 1.3.6.251-IDEA213
OS Windows 10

What are the steps to reproduce this issue?(重现步骤?)

write simple code:

local a = 5

local function b(x) return x+a end

print(b(4))

What happens?(出现什么问题?)

in Problems "Current file" tab have problem

Local variable "a"

What were you expecting to happen?(期望?)

No problem in such code

Any other comments?(其它说明)

In big files Problems tab fills only that kind notes

изображение

CppCXY commented 2 years ago

image not found this bug

nick-nh commented 2 years ago

In your image TODO tab, not Problems.

CppCXY commented 2 years ago

Ok, I known, later I will ask author why

CppCXY commented 2 years ago

this feature just to warn you this is an upvalue