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

Methods are not visible in the class #1288

Closed
RomanSpector opened this issue Jul 5, 2022 · 0 comments
Closed

Methods are not visible in the class #1288

RomanSpector opened this issue Jul 5, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@RomanSpector
Copy link

---@class MyClass
local MyClass =
{
    a = 1;
    b = "";
    c = {};
};

function MyClass:Test()

end

function MyClass:MyClass()
    self:
end

image

image

@sumneko sumneko added the bug Something isn't working label Jul 6, 2022
@sumneko sumneko closed this as completed in eeb24f3 Jul 6, 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
Projects
None yet
Development

No branches or pull requests

2 participants