Compile failed with Haxe 4.0.0-preview5 and lime 6.4.0


#1

Haxe: 4.0.0-preview5
lime: 6.4.0
openfl: 8.3.0

Then, I have this compile error:

../lime/graphics/cairo/Cairo.hx:39: characters 13-21 : Unexpected operator.

If using Haxe 4.0.0-preview4 instead. No errors,It works! OMG.

Can’t anyone help me ?


#2

I believe it has to do with https://github.com/HaxeFoundation/haxe/issues/7413 - it went through in preview 5


#3

Fixed in https://github.com/openfl/lime/commit/91426f2267af73f1c52fb7c449a6275ebb7e895b , update your lime or cherry pick this commit.