Skip to content

Conversation

kevinhwang91
Copy link
Contributor

If metatable with __call method, adding @class and @type fun()
together for a class make the token be regarded as function, we should
make sure @class override @type.

image

->

image

If metatable with `__call` method, adding `@class` and `@type fun()`
together for a class make the token be regarded as function, we should
make sure `@class` override `@type`.
@sumneko
Copy link
Collaborator

sumneko commented Apr 2, 2022

Thank you!

@sumneko sumneko merged commit 01f8679 into LuaLS:master Apr 2, 2022
@kevinhwang91 kevinhwang91 deleted the fix-semantic-priority branch April 3, 2022 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants