atrexus / unluau

A decompiler for Luau (Roblox's Lua based programming language: https://luau-lang.org/).
Apache License 2.0
88 stars 21 forks source link

"..." instead of ".." #31

Closed alternativebyte closed 9 months ago

alternativebyte commented 9 months ago

Hello! So this is a quick fix! For some weird reason, it says "..." instead of "." I'm pretty sure the culprit is this: "\Unluau\Lifter\Expressions\Vararg.cs" On line 16, it says "output. Write "..." when it should be "output. Write("..");" This is just weird, and please note that I don't know a lot about scripting, so if this is for something else, please tell me.

atrexus commented 9 months ago

This is for variable number arguments: https://www.lua.org/pil/5.2.html. It is not a bug,