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

Unified Diff: frog/tests/leg/src/mock_compiler.dart

Issue 9863037: Generate prettier loops. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adressed review comments. A few fixes. Created 8 years, 9 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
« frog/leg/ssa/nodes.dart ('K') | « frog/tests/leg/src/LoopTest.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/tests/leg/src/mock_compiler.dart
diff --git a/frog/tests/leg/src/mock_compiler.dart b/frog/tests/leg/src/mock_compiler.dart
index 4ac61540a109ebd531f0e23d62fe0b8918b71d0c..9a2c7589a17f853d84c7cb4bf4251b9de751271b 100644
--- a/frog/tests/leg/src/mock_compiler.dart
+++ b/frog/tests/leg/src/mock_compiler.dart
@@ -36,7 +36,10 @@ final String DEFAULT_HELPERLIB = @'''
builtin$removeLast$0(receiver) {}
index(a, index) {}
indexSet(a, index, value) {}
- class Closure {} ''';
+ class Closure {}
+ builtin$iterator$0() {}
+ builtin$next$0() {}
+ builtin$hasNext$0() {}''';
final String DEFAULT_CORELIB = @'''
print(var obj) {}
« frog/leg/ssa/nodes.dart ('K') | « frog/tests/leg/src/LoopTest.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698