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

Unified Diff: runtime/vm/parser.h

Issue 2993223002: [VM parser] Insert missing result type check in async functions using arrow (Closed)
Patch Set: update status file 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/parser.h
diff --git a/runtime/vm/parser.h b/runtime/vm/parser.h
index 0277fc735ef2201d5d3ddd3935098c34d66958b3..4ec8fba813fba4b99a09cf94163f1b9eee518d85 100644
--- a/runtime/vm/parser.h
+++ b/runtime/vm/parser.h
@@ -944,6 +944,8 @@ class Parser : public ValueObject {
void AddEqualityNullCheck();
+ AstNode* AddAsyncResultTypeCheck(TokenPosition expr_pos, AstNode* expr);
+
AstNode* BuildClosureCall(TokenPosition token_pos,
AstNode* closure,
ArgumentListNode* arguments);
« 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