Leo Developer
Leo Developer
Two more things i found: - the current optimization for `a & 0xffffffff` -> `a | 0` does not apply for `a & -1` which is identical. - bitshifts (`a...
```v import os import flag fn main() { mut fp := flag.new_flag_parser(os.args) println(fp.usage()) // not needed for the runtime error } ``` Causes the following runtime error with `-autofree` on...
> _Originally posted by [@Le0Developer](https://github.com/Le0Developer) in ["stable" identifier demangling j4k0xb/webcrack#154 (comment)](https://github.com/j4k0xb/webcrack/issues/154#issue-2895194646)_ Can you please not mention me everywhere?
You didn't include your linked list implementation.
you are correct, it's from a ternary. the original expression is: ```js function gl() { var d = "0".split("|"); var e = 0; while (true) { switch (d[e++]) { case...
>not affect this webpack test Done, but it still affects the webpack test because it's an `else if`. >improve readability (no ! or !!) IMO this should be solved by...
Fixed the unreadable webpack code by preventing the merge if it's already an else if
There's more such cases, e.g. I have to re-run webcrack 4 times before it becomes stable. We can explicitly call the invert-boolean-logic transform here like how control-flow-object is explicitly calling...
> only running it on the test expression could work Yeah that's what I meant, will push a commit for this in a bit. Update: looks like it doesn't work...
Update 3 weeks later: I just realized why it didn't remove the `!!`; the transform doesn't know it's running in the conditional, so it thinks it could be a cast...