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
The issue lies with the bun-repl package. If you have an object (ie {a:1}) and await in same input, it transpiles it weirdly as it's not expecting it to be muli-line indented.
What version of Bun is running?
1.1.4+fbe2fe0c3
What platform is your computer?
Linux 5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64
What steps can reproduce the bug?
bun repl
function foo({x: boolean}) { return Promise.resolve(123) }
await
, e.g.await foo({x: true})
What is the expected behavior?
The function is evaluated without any issues
What do you see instead?
Bun REPL reports:
Additional information
No response
The text was updated successfully, but these errors were encountered: