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

Unified Diff: frog/scripts/tree_gen.py

Issue 9143001: Fixes 2 tests and a crash (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
Index: frog/scripts/tree_gen.py
diff --git a/frog/scripts/tree_gen.py b/frog/scripts/tree_gen.py
index a06e20a0e409485fec4db92451e3111530e36603..8ddc95a1c244375060f7298c7562d39d671a802f 100755
--- a/frog/scripts/tree_gen.py
+++ b/frog/scripts/tree_gen.py
@@ -157,9 +157,10 @@ nodes = [
'List<ArgumentNode> arguments'),
Expression('List',
- 'bool isConst, TypeReference type, List<Expression> values'),
+ 'bool isConst, TypeReference itemType, List<Expression> values'),
Expression('Map',
- 'bool isConst, TypeReference type, List<Expression> items'),
+ 'bool isConst, TypeReference keyType, TypeReference valueType,' +
+ 'List<Expression> items'),
Expression('Conditional',
'Expression test, Expression trueBranch, Expression falseBranch'),

Powered by Google App Engine
This is Rietveld 408576698