Ingvar Stepanyan
Ingvar Stepanyan
> Please gate this feature with a new compress option "unsafe_await" as discussed in #528. Hmm, I thought `unsafe_await` related only to inlining? Anything that doesn't have side-effects, including vars...
> I'd prefer that doSomething be changed to console.log, and pass a different array literal to each IIFE to make the test more robust. It's useful to have tests that...
> Please mark PR as [WIP]. Done. I just implemented the patch the way you suggested - feel free to make edits. I'm not very familiar with terser codebase and...
> A half dozen people have learned the code well enough to make significant contributions. Sure, but, like you, I have other OSS projects to maintain and take care of,...
@fabiosantoscode I'm not sure I understand the difference.
I see. But I'm not sure I understand the distinction / why we don't want to do this across `await` as well. `await` can't affect local variables any more than...
Right, I see what you mean. But presumably that's what already happens when calling other functions - could `await` be treated as if it was a call to some function...
That actually sounds pretty good and would already cover lots of cases probably.
Having this issue as well.
Most likely related to https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58413. If you're using newest TypeScript, make sure to update the typings too.