Whenever I ask questions here I’m overcome with anxiety that it might be a stupid question. But anyway…
I’ve installed Haxe 4 rc2 and I’m getting errors related to static extensions. I’m using the Advanced Layout library which is designed to be used with a “using” directive, adding layout sugar to display objects. The errors relate to the extra fields such as “alignLeft” or “verticalPercent” no longer being added to the displayObjects.
My research indicates that some breaking changes in Haxe 4 are that static extensions no longer resolve on an implicit
this type, and static extensions no longer apply abstract field-casts. So I suspect this is what’s happening.
In Advanced Layout the abstracts and casting are happening in the Resizable class, and the added fields are in the LayoutCreator class. Could somebody please take a peek at these and give me a hint of where to start fixing?