Hey folks, I think there may be an issue in latest build on Mac. Here is the error message:
openfl build project.xml html5
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : Array<{ type : haxe.macro.ComplexType, opt : Bool, name : String }> should be Array<haxe.macro.FunctionArg>
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : Type parameters are invariant
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } should be haxe.macro.FunctionArg
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } should be { ?value : Null<haxe.macro.Expr>, type : Null<haxe.macro.ComplexType>, ?opt : Bool, name : String }
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } has no field value
/usr/lib/haxe/lib/lime/2,8,3/lime/text/Font.hx:25: characters 2-11 : Build failure
It looks like I already had the samples installed. I instantiated a folder with PiratePig and tried building it. This is what I saw:
openfl build PiratePig/ html5
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : Array<{ type : haxe.macro.ComplexType, opt : Bool, name : String }> should be Array<haxe.macro.FunctionArg>
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : Type parameters are invariant
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } should be haxe.macro.FunctionArg
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } should be { ?value : Null<haxe.macro.Expr>, type : Null<haxe.macro.ComplexType>, ?opt : Bool, name : String }
/usr/lib/haxe/lib/lime/2,8,3/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } has no field value
/usr/lib/haxe/lib/lime/2,8,3/lime/text/Font.hx:25: characters 2-11 : Build failure
One word of caution for the next person who stumbles on this issue, I manually removed the haxelib alias for Haxe after reinstalling since it no longer worked.