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
I was futzing around with decorators and thought I'd throw a new-style decorator into esbuild to see what old-style decorators would have output (was too lazy to open a new TS playground and change settings).
I was surprised to see a panic:
Error: Build failed with 1 error:
error: panic: Expected scope (7, 0) in index.ts, found scope (7, 2) (while parsing "index.ts")
Which, is not legal TS code for old-style decorators, but is for new-style. esbuild doesn't support new style decorators yet, but, the panicking seems unintentional.
I was futzing around with decorators and thought I'd throw a new-style decorator into esbuild to see what old-style decorators would have output (was too lazy to open a new TS playground and change settings).
I was surprised to see a panic:
The code is just:
Which, is not legal TS code for old-style decorators, but is for new-style.esbuild doesn't support new style decorators yet, but, the panicking seems unintentional.esbuild playground
The text was updated successfully, but these errors were encountered: