IntelliJ-EmmyLua icon indicating copy to clipboard operation
IntelliJ-EmmyLua copied to clipboard

Local variable problems

Open nick-nh opened this issue 2 years ago • 4 comments

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

изображение

nick-nh avatar May 30 '22 10:05 nick-nh

image not found this bug

CppCXY avatar May 31 '22 02:05 CppCXY

In your image TODO tab, not Problems.

nick-nh avatar May 31 '22 09:05 nick-nh

Ok, I known, later I will ask author why

CppCXY avatar May 31 '22 09:05 CppCXY

this feature just to warn you this is an upvalue

CppCXY avatar May 31 '22 09:05 CppCXY