Closed grahambates closed 7 months ago
Who uses locals ;) Sounds like a trivial thing to fix, but I don't have time to investigate until Dec 14. Do you need a fix asap?
Hmm... I am unable to replicate, a file with just local x
or function TIC()local x end
seem to pack just fine. What version you are on?
Checking the changelogs, 1.3.0 has 0e47, you probably are on 1.2.0 or earlier. Can you try pip install pakettic --upgrade
and see if this solves your issue?
Yeah you're right I was on 1.2
Declaring a variable with no initial value is supported in TIC-80's Lua implementation, but results in a
ParseException
in Pakettic:This example is handled fine, even though only one of the vars is set: