[build] Haxe4 issues
Closed this issue · 3 comments
thomasuster commented
Haxe Compiler 4.0.0-rc.3+e3df7a4
cd tools/nme
haxe compile.hxml
Expected: Should build
Result:
nme/src/nme/bare/Surface.hx:31: characters 22-32 : height: Custom property accessor is no longer supported, please use `get`
nme/src/nme/bare/Surface.hx:32: characters 20-28 : rect: Custom property accessor is no longer supported, please use `get`
nme/src/nme/bare/Surface.hx:33: characters 27-42 : transparent: Custom property accessor is no longer supported, please use `get`
nme/src/nme/bare/Surface.hx:34: characters 21-30 : width: Custom property accessor is no longer supported, please use `get`
nme/src/nme/bare/Surface.hx:36: characters 34-56 : premultipliedAlpha: Custom property accessor is no longer supported, please use `get`
nme/src/nme/bare/Surface.hx:36: characters 58-80 : premultipliedAlpha: Custom property accessor is no longer supported, please use `set`
nme/src/nme/net/SharedObjectFlushStatus.hx:4: lines 4-8 : @:fakeEnum enums is no longer supported in Haxe 4, use extern enum abstract instead
thomasuster commented
Here's one of the things it complains about, not sure what's wrong here...
public var height(get, null):Int;
private function get_height():Int { return nme_bitmap_data_height(nmeHandle); }
hughsando commented
Looks like a version thing, since I think these should be fixed. Do you need a "haxelib dev nme dir" command?
thomasuster commented
Doh! 🤦♂ To many nme dirs floating.