lunar
lunar copied to clipboard
Semicolons that separate expression statements are not preserved
(function() print(1) end)();
(function() print(2) end)()
Transpiles to
(function() print(1) end)()
(function() print(2) end)()
In this instance, the semicolon would need to be preserved, or else the transpiled code will attempt to call the the result of print(1) with the argument (function() print(2) end)