DescriptionAwait it!
Add support for awaiting futures. This leaves us with a non-structural CFG.
TODOs:
* Forwarding exceptions through futures in async functions and rethrowing them using await.
* Known bug with nested contexts (will be fixed in following CL)
* await is not recognized at all expressions specified (yet)
BUG=
R=hausner@google.com, srdjan@google.com
Committed: https://code.google.com/p/dart/source/detail?r=39559
Patch Set 1 #Patch Set 2 : #Patch Set 3 : refactor out BuildAwaitJump() #Patch Set 4 : fix ctx restore + continuation result passing #Patch Set 5 : #
Total comments: 46
Patch Set 6 : addressed comments #
Total comments: 10
Patch Set 7 : addressed comments #Patch Set 8 : #
Total comments: 1
Patch Set 9 : finally try to catch all issues in try/catch/finally #
Total comments: 24
Patch Set 10 : addressed comments #Patch Set 11 : rebase #
Messages
Total messages: 15 (0 generated)
|