We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
function x(a: integer, b: integer[]) local a1 = a[0] end
It should not be possible to index an variable that is marked as integer. This will fail at runtime except if someone sets a meta-table on integer.
But following should fail:
function x(a: integer) local a1:integer = a[0] end
The text was updated successfully, but these errors were encountered:
issue #215 The top level check v->ravi_type != vartype is not correct…
b5afdfa
… as it means we miss out checking scenario where v->k == VINDEXED.
issue #215 adapt fix by XmiliaH from pull request
658f04c
8e815bd
No branches or pull requests
It should not be possible to index an variable that is marked as integer. This will fail at runtime except if someone sets a meta-table on integer.
But following should fail:
The text was updated successfully, but these errors were encountered: