You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release fixes a bug where the for await transform, which wraps the loop in a try statement, previously failed to also move the loop's label into the try statement. This bug only affects code that uses both of these features in combination. Here's an example of some affected code:
Thanks for the report. The full commit that introduced this problem was b004bbe. There's no associated issue in this repo because it resulted from another issue I found here: arogozine/LinqToTypeScript#29.
Minimal reproduction:
esbuild 0.24.2 output:
Link to reproduction: https://esbuild.github.io/try/#dAAwLjI0LjIALS1taW5pZnkAbDogewogIHRyeSB7CiAgICB3aGlsZSAodHJ1ZSkge30KICAgIGJyZWFrIGw7CiAgfSBjYXRjaCB7fQp9
Hit this when bundling JS code generated by the Kotlin compiler, which at some point contains the above pattern.
The text was updated successfully, but these errors were encountered: