-
Notifications
You must be signed in to change notification settings - Fork 158
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
[NIGHTLY?] Array getDyn broken #723
Comments
As hello is empty,
Tested on my machine with latest haxe and hashlink, it gives access violation at https://github.com/HaxeFoundation/haxe/blob/fe0d3e34abb5de658d160eba0b8cc126fab77edc/std/hl/types/ArrayObj.hx#L330 . It does not say what happens when read negative index, but this behavior seems expected. |
Looking at the code for |
@yuxiao accessing an Array outside its bounds should always return null
Le jeu. 31 oct. 2024 à 12:08, Zeta ***@***.***> a écrit :
… Looking at the code for ArrayObj.getDyn it looks like returning null is
the intended behavior, except that comparing UInt and Int generates OJSLt
instead of OJULt.
—
Reply to this email directly, view it on GitHub
<#723 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHZXQBO575OHULJOA6G25TZ6IFR5AVCNFSM6AAAAABQ2LLAKCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBZGU4TIOJXGI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
(You're tagging the wrong people xD, there's another yuxiao s on github!) |
Unsure if this also happens in base hashlink since theres no mac build for the stable release.
but
haxe version: 4.3.4
hashlink version: 1.14.0
The text was updated successfully, but these errors were encountered: