haxe-react icon indicating copy to clipboard operation
haxe-react copied to clipboard

js-object not needed anymore?

Open zabojad opened this issue 5 years ago • 2 comments

Am I wrong or is js-object not needed anymore since Haxe 4?

zabojad avatar Oct 06 '20 12:10 zabojad

It doesn't work with haxe 4's js.lib.Object because of assign() signature being (imo) wrong there: return type is set to T while assign() should be able to return an object with more fields (which is needed here).

kLabz avatar Oct 06 '20 14:10 kLabz

I see. Has it been reported in the Haxe issue tracker?

zabojad avatar Oct 07 '20 10:10 zabojad