-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Maps can't use some keys types (Int64, Float, Bool...) since the new Haxe 4.3.0 version #600
Comments
I think that's more an Haxe issue than an Hashlink one. We did change Int64 to be a native type but we haven't yet introduced a 64 bit Map in Haxe for all platforms. |
I'm not sure if and how these used to work, but that was more by accident than by design :) |
Oh, I see. As it worked in JS, I thought it was a HL issue. My bad. Should I open an issue on the Haxe git ? |
Trying to create maps with some types as key gives an error : Abstract haxe.ds.Map has no @:to function that accepts haxe.IMap<haxe.Int64, Int>
I realized it with the Int64 type but then, I've been talking about this on the Heaps Discord and Yanrishatum (<3) found out it also applied to Float or Bool. Their theory is that it's linked to
@:runtimeValue
.Here are some examples : https://try.haxe.org/#18552329.
The text was updated successfully, but these errors were encountered: