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
{{ message }}
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.
I'm not sure if this is expected to work today, but I would hope that I could do:
asyncfunctionf(){returnPromise.reject(newError('oh no!'));}asyncfunctionmain(){try{awaitf();}catch(e){// This line should print out the Error from f().console.error('Error: %s',e);}}main();
Ultimately, this should work with multiple await statements:
asyncfunctionmain(){try{vara=awaitb();varc=awaitd(a);vare=awaitf(c);// etc.}catch(e){// This line should print out the Error from f().console.error('Error: %s',e);}}
I put together some sample code that chains a handful of transforms together. I would really like to use async/await along with jsx and harmony features.
The text was updated successfully, but these errors were encountered:
@bolinfest thank you very much for drawing my attention to this bug! As you can see from the fix (20f0518), the mistake was simple but the consequences were profound.
I'm not sure if this is expected to work today, but I would hope that I could do:
Ultimately, this should work with multiple
await
statements:I put together some sample code that chains a handful of transforms together. I would really like to use async/await along with jsx and harmony features.
The text was updated successfully, but these errors were encountered: