Describe the bug
When semicolons are disabled in the decompiler, it can sometimes produce code that cannot be compiled, or has different meaning.
To Reproduce
Example code that does this:
return a
(b ? c : d).e = 123
There's other cases of this too, such as some involving ({}), and ++/--.
Expected behavior
Semicolons should probably be forcibly inserted in these situations.
Describe the bug
When semicolons are disabled in the decompiler, it can sometimes produce code that cannot be compiled, or has different meaning.
To Reproduce
Example code that does this:
There's other cases of this too, such as some involving
({}), and++/--.Expected behavior
Semicolons should probably be forcibly inserted in these situations.