[Feature requset] Multiple inheritance in @class
annotation or add new @mixin
annotation
#588
Labels
@class
annotation or add new @mixin
annotation
#588
Lua is very flexible and allows you to do anything.
Sometimes we need something like multiple inheritance or rather mixins.
When several functionality is mixed into the resulting class/table when “designing” the class programmatically.
Example
For example, something like:
We have some base "mixer", that can mix different mixins to itself
Then we have some Factory for “designing” the new class programmatically:
And we have several mixins for different purposes:
and so on....
So, then we can "construct"/design our own class like this:
Feature request
So.... It would be very useful, if we could specify from which mixins the class consists of.
For example like this:
or just like multiple inheritance:
Related issues
@class
annotations #402The text was updated successfully, but these errors were encountered: