You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I want to define classes properly.
We use this middleclass to create classes in lua.
However if I define a class that takes parameters like this:
---@classCustomClassCustomClass=class("CustomClass")
functionCustomClass:initialize(sometable)
self.sometable=sometableendlocals_SomeTable= { test=2 }
--- this shows as unknown instead of CustomClasslocals_CustomClass=CustomClass(s_SomeTable)
It doesn't work. Also CustomClass.static etc. would be unknown.
Is this something I can do? or do you need to add support for it? I want this since really long time.
The text was updated successfully, but these errors were encountered:
Hey, I want to define classes properly.
We use this middleclass to create classes in lua.
However if I define a class that takes parameters like this:
It doesn't work. Also
CustomClass.static
etc. would be unknown.Is this something I can do? or do you need to add support for it? I want this since really long time.
The text was updated successfully, but these errors were encountered: