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

a class within a class #1311

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

a class within a class #1311

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

Comments

@RomanSpector
Copy link

Is this a bug?

---@class A
local A =
{
    ---@class B
    B =
    {
        field = 1;
    };
}

function A:Test()
    A.B:Test();
end

function A.B:Test()
    print(123)
end

image

@sumneko sumneko added the bug Something isn't working label Jul 11, 2022
@sumneko sumneko added this to the 3.5.0 milestone Jul 11, 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