-
Hello, ---@Generic L ... Is what im thinking about but of course it does not work that way, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I don't think there is a way, because in LuaLS a https://www.lua.org/pil/16.3.html
|
Beta Was this translation helpful? Give feedback.
I don't think there is a way, because in LuaLS a
class
just a type container, and it can have multiple inheritance. So there is no single superclass for any class. 😕 As for Lua itself, it is a dynamic typed language, and we often call it duck typing.https://www.lua.org/pil/16.3.html