Property accessors in mixins


When I tried to define some property accessors in mixin class I got following error:

(10): The virtual property syntax is currently not supported for mixin classes

Anyone knows how hard would be to implement this support / if it’s on some short term roadmap at all?

I’d like to be able to do following:

mixin class HasAnimatedModel
{ string model { set { @model_ = Model(model); } get { model_.getName();

Published by CelleSports

CelleSports is a Game development, News outlet, and Social Cell community. Build your cells or teams for any game and start communicating efficiently. Join us in building the number one eSport and gaming community in the World. Join Cell eSports

Leave a comment