We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in decompiling a certain construct I use this compiler https://www.blast.hk/threads/17276/
Examples of malfunctions. The foo7 function shows that removing "return" solves the problem
-- source function foo1() local data = "text" data = data:match("(.+)") or data:match("(.+)") return data end function foo2() local data = 0 data = F(data) or F(data) return data end function foo3() local data = 0 data = data:F() or data:F() return data end function foo4() local data = 0 data = data or data:F() return data end function foo5() local data = 0 data = data:F() or data return data end function foo6() local data = 0 data = data or data return data end function foo7() local data = 0 data = F(data) or F(data) end
-- after compilation and decompilation function foo1() local var_1_0 = ("text"):match("(.+)") or :match("(.+)") return var_1_0 end function foo2() local var_2_0 = 0 local var_2_1 = F(var_2_0) or F() return var_2_1 end function foo3() local var_3_0 = (0):F() or :F() return var_3_0 end function foo4() local var_4_0 = 0 or :F() return var_4_0 end function foo5() local var_5_0 = 0 var_5_0 = var_5_0:F() or var_5_0 return var_5_0 end function foo6() local var_6_0 = 0 if not var_6_0 then -- block empty end return var_6_0 end function foo7() local var_7_0 = 0 var_7_0 = F(var_7_0) or F(var_7_0) end
The text was updated successfully, but these errors were encountered:
Thanks for reporting, I've updated the current release with a fix.
Sorry, something went wrong.
No branches or pull requests
Error in decompiling a certain construct
I use this compiler https://www.blast.hk/threads/17276/
Examples of malfunctions. The foo7 function shows that removing "return" solves the problem
The text was updated successfully, but these errors were encountered: