hypersurge/awe6

driver remap macro assertion

Closed this issue · 0 comments

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:
HaxeFoundation/haxe#4825

Temporary workarounds:

  1. Use Haxe 3.2
  2. Hardwire the driver folder typdef and remove the Macro step