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

Unified Diff: runtime/vm/ast.h

Issue 2941643002: Check for a passed-in type argument vector in the prolog of generic functions. (Closed)
Patch Set: address review comments Created 3 years, 6 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 | « runtime/lib/object_patch.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/ast.h
diff --git a/runtime/vm/ast.h b/runtime/vm/ast.h
index 3f2f70b897dbd1089aff73931d0f3d4d2d5a5744..c27b61a25c207755554b9efeb84d8234a804c6b9 100644
--- a/runtime/vm/ast.h
+++ b/runtime/vm/ast.h
@@ -300,6 +300,7 @@ class ArgumentListNode : public AstNode {
nodes_(4),
names_(Array::ZoneHandle()) {
ASSERT(type_arguments_.IsZoneHandle());
+ ASSERT(type_arguments_.IsNull() || type_arguments_.IsCanonical());
}
ArgumentListNode(TokenPosition token_pos,
« no previous file with comments | « runtime/lib/object_patch.dart ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698