DescriptionTransform functions marked as async
In a nutshell:
foo(params) async { <body> return result; }
transforms to
foo(params) async {
var c = new Completer();
var async_body = () { <body> completer.complete(result); }
new Future(async_body);
return c.future;
}
BUG=
R=hausner@google.com
Committed: https://code.google.com/p/dart/source/detail?r=38681
Patch Set 1 #Patch Set 2 : #Patch Set 3 : getters and setters #
Total comments: 22
Patch Set 4 : first round of comments #
Total comments: 4
Patch Set 5 : #Patch Set 6 : reworked #Patch Set 7 : #
Total comments: 4
Patch Set 8 : #
Total comments: 4
Messages
Total messages: 11 (0 generated)
|