await @asyncCall
and await async
should generate the same code as a function call
#3065
Labels
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
optimization
Milestone
await async foo()
is equivalent tofoo()
and should generate the same code.await @asyncCall(...)
is a different beast, but it can still be generated more efficiently than when the await is in a separate location.I don't see any reason to bother with this for stage1.
The text was updated successfully, but these errors were encountered: