Support for anonymous classes
Closed this issue · 0 comments
misterquestions commented
Would be great to have some support for anonymous classes that are returned like a table, this is helpful to allow local declaration for classes. One example would be:
local AwesomeClass = class {
constructor = function(self, arg1, arg2, ...)
end,
}
local myinstance = AwesomeClass("asd", false);