Skip to content

a class within a class #1311

Closed
Closed
@RomanSpector

Description

@RomanSpector

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions