Skip to content

Add Lua 5.5 as a target#1122

Merged
hishamhm merged 3 commits into
teal-language:mainfrom
mbartlett21:mjb/lua-5.5
May 19, 2026
Merged

Add Lua 5.5 as a target#1122
hishamhm merged 3 commits into
teal-language:mainfrom
mbartlett21:mjb/lua-5.5

Conversation

@mbartlett21

Copy link
Copy Markdown
Collaborator

Which means that functions with named varargs will no longer have an extra local x = table.pack(...), and instead use the builtin functionality.


I also did some test cleanup, so that the util.gen code now actually checks the output, rather than parsing and regenerating (which previously meant that syntax-only compatibility could only be tested with the cli)

This meant that attempting to test code that was in the codegen
stage was impossible apart from the cli tests.
This allows using the new vararg functionality (which means that it
no longer needs to have a manual table.pack)
@github-actions

Copy link
Copy Markdown

Teal Playground URL: https://1122--teal-playground-preview.netlify.app

@hishamhm
hishamhm merged commit 2672365 into teal-language:main May 19, 2026
8 checks passed
@hishamhm

Copy link
Copy Markdown
Member

Cool improvements!!

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

Successfully merging this pull request may close these issues.

2 participants