Parsing Lua code seems to remove parentheses from the AST tree, causing problem when the code is rendered.
For example:
Parsing (1+5)/2 results in 1+5/2 (Causing unexpected math result)
Parsing (function() return "AnonymousFunction" end)() results in function() "AnonymousFunction" end() (Causing error in rendered Lua code as Anonymous Functions require closed parentheses around them)
Missing parentheses are a significant issue in math and programming and should be fixed as soon as possible,
Thank you.
Parsing Lua code seems to remove parentheses from the AST tree, causing problem when the code is rendered. For example: Parsing
(1+5)/2
results in1+5/2
(Causing unexpected math result) Parsing(function() return "AnonymousFunction" end)()
results infunction() "AnonymousFunction" end()
(Causing error in rendered Lua code as Anonymous Functions require closed parentheses around them)Missing parentheses are a significant issue in math and programming and should be fixed as soon as possible, Thank you.