Errors With Lime After Upgrading

Hey,

I recently upgraded my version of Haxeflixel, Lime, and Openfl using Haxelib, but then immediately had errors when I tried to compile any of my projects:

C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/Assets.hx:1182: characters 71-75 : Array<{ type : haxe.macro.ComplexType, opt : Bool, name : String }> should be Array<haxe.macro.FunctionArg>
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/Assets.hx:1182: characters 71-75 : Type parameters are invariant
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } should be haxe.macro.FunctionArg
C:/HaxeToolkit/haxe/lib/lime/2,9,0/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 }
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/Assets.hx:1182: characters 71-75 : { type : haxe.macro.ComplexType, opt : Bool, name : String } has no field value
C:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/text/Font.hx:25: characters 2-11 : Build failure
Build halted with errors.

It’s most likely something with Lime, but I’m not sure if it’s exclusively that. Is there a rollback version available for a quick fix? This is an issue for all export targets.

Has anyone else encountered these issues?

You’re probably still on an older Haxe version (3.1.x). The latest OpenFL / Lime versions require Haxe 3.2.0 or newer.