rpetrich / babel-plugin-transform-async-to-promises

Transform async/await to somewhat idiomatic JavaScript promise chains
MIT License
246 stars 17 forks source link

Complex condition while loop runs forever #75

Closed make-github-pseudonymous-again closed 2 years ago

make-github-pseudonymous-again commented 2 years ago

Writing while ((await foo()) !== until); produces an infinite loop. I started PR #74 with a minimal bug reproduction example.

rpetrich commented 2 years ago

This should be resolved as of 4ddb186d06784fa91d7cd79bc1d61d57332e365b.