Skip to content
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

Accessing a ResizeArray out of bounds, should generate an exception, like on .NET #3812

Open
goswinr opened this issue Apr 24, 2024 · 1 comment

Comments

@goswinr
Copy link
Contributor

goswinr commented Apr 24, 2024

undefined just hit me again! 🤦‍♂️
Could ResizeArray raise the same out of bound exception as arrays ? just like in commit 1f4001b for issue #3729? see REPL

image

@MangelMaxime
Copy link
Member

It should be possible yes.

Only specificities of ResizeArray is that's the type we use to ensure that we generate a native JavaScript array. But changing the getter / setter to behave like on .NET should not break this specificity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants