Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(762)

Unified Diff: runtime/vm/ast_transformer.cc

Issue 3001213002: [VM generic functions] Support generic async calls. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast_transformer.cc
diff --git a/runtime/vm/ast_transformer.cc b/runtime/vm/ast_transformer.cc
index a050e6cb20bed67f9f01140690f86469d1c79b1a..398e2cb9709b7ff2cf24cf2c1166052605541780 100644
--- a/runtime/vm/ast_transformer.cc
+++ b/runtime/vm/ast_transformer.cc
@@ -318,7 +318,8 @@ void AwaitTransformer::VisitConditionalExprNode(ConditionalExprNode* node) {
}
void AwaitTransformer::VisitArgumentListNode(ArgumentListNode* node) {
- ArgumentListNode* new_args = new (Z) ArgumentListNode(node->token_pos());
+ ArgumentListNode* new_args =
+ new (Z) ArgumentListNode(node->token_pos(), node->type_arguments());
for (intptr_t i = 0; i < node->length(); i++) {
new_args->Add(Transform(node->NodeAt(i)));
}
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698