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
In the compiled code below shouldn't the catch block do something with __iced_k like the try block does? So that console.log 'done' gets called if there's an exception while running the sync part of the try.
f = (cb) -> cb()
try
console.log 'in try'
throw new Error 'the error'
await f defer err
catch exn
console.log 'in catch'
console.log 'done'
In the compiled code below shouldn't the catch block do something with __iced_k like the try block does? So that
console.log 'done'
gets called if there's an exception while running the sync part of the try.Adding an await in the catch fixes the problem:
The text was updated successfully, but these errors were encountered: