hypersurge / awe6

awe6, the inverted game framework (Haxe)
http://awe6.org
MIT License
79 stars 11 forks source link

driver remap macro assertion #28

Closed hypersurge closed 6 years ago

hypersurge commented 7 years ago

When using -D awe6DriverRemap and a custom driver (such as the CreateJS driver) Haxe > 3.2 returns File "src/typing/typeload.ml", line 3312, characters 15-21: Assertion failed

Example code from awe6 looks like: typedef AAssetManager = haxe.macro.MacroType<[ awe6.core.Macros.driverRemap( "AssetManager" ) ]>;

This may be related to class build order issue here: https://github.com/HaxeFoundation/haxe/issues/4825

Temporary workarounds: 1) Use Haxe 3.2 2) Hardwire the driver folder typdef and remove the Macro step