Skip to content

查找所有引用错误 #1914

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

Closed
HiKit opened this issue Feb 15, 2023 · 0 comments
Closed

查找所有引用错误 #1914

HiKit opened this issue Feb 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@HiKit
Copy link

HiKit commented Feb 15, 2023

问题:class的方法无法正确查找引用

A.lua

---@class A
_G.A = {};

function A:TestA()

end

main.lua

---@param param A
function TestB(param)
	param:TestA();
end

main.lua中查找所有引用结果如下:
image

A.lua中查找所有引用结果如下:
image

@sumneko sumneko added the bug Something isn't working label Feb 15, 2023
@sumneko sumneko closed this as completed in 0f2d789 Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants