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

Setting a nil key is not an error. #20

Closed
milochristiansen opened this issue Mar 17, 2019 · 0 comments
Closed

Setting a nil key is not an error. #20

milochristiansen opened this issue Mar 17, 2019 · 0 comments

Comments

@milochristiansen
Copy link
Owner

Currently the low-level table code is "error free", as in it does not error out, ever. This makes it easier to write some parts of the VM, but unfortunately the reference VM errors out when you set a nil key.

I either need to check for nil keys in the higher level code with more consistency, or I need to allow the low level code to error out and make sure all areas where the low level table API is used are error safe.

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

No branches or pull requests

1 participant