-
Notifications
You must be signed in to change notification settings - Fork 323
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
Builtin Array Is Exposing Nulls to Surface Language #5494
Comments
With 4dcf802 I am getting the exception even sooner:
|
I have a fix: but there is a question puzzling in my mind: What's the point of having |
A fair question - we still have Array in a couple of places, but we should probably reduce this. There are 2 places we use |
Jaroslav Tulach reports a new STANDUP for yesterday (2023-02-22): Progress: - Array.allocate: bb03d51
Next Day: Dropdown for |
This task is automatically imported from the old Task Issue Board and it was originally created by Radosław Waśko.
Original issue is here.
General Summary
It is possible to encounter pure
null
values in the surface language ifArray
elements are accessed when they are not initialized.Steps to Reproduce
enso repl
.Expected Result
null
s should not leak to the user. Printing missing values should not result in a crash.Array
API should be designed in such a way to never expose purenull
s to the user.Actual Result
An exception is thrown.
Enso Version
Migrated from #1424
The text was updated successfully, but these errors were encountered: