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

Using tableconstructor with more than 50 elements results in an error at runtime #76

Open
Akeit0 opened this issue Jan 5, 2025 · 2 comments

Comments

@Akeit0
Copy link
Contributor

Akeit0 commented Jan 5, 2025

No description provided.

@AnnulusGames
Copy link
Owner

This is according to the Lua specification. OP_SETLIST can set up to 50 elements, and any more will be split into multiple instructions.

@Akeit0
Copy link
Contributor Author

Akeit0 commented Jan 5, 2025

Yes, I did not word it well enough.
I see that instruction splitting is not yet implemented in the compiler.

@Akeit0 Akeit0 changed the title Cannot do SetList with a number greater than 50. Using tableconstructor with more than 50 elements results in an error at runtime Jan 5, 2025
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

2 participants