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

Unified Diff: frog/gen.dart

Issue 8618004: Fix Swarm to run again, and enable its test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month 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/gen.dart
diff --git a/frog/gen.dart b/frog/gen.dart
index b6e8bf1e58708a5c42d99a77a460b70e49f330c7..011390ec62d0fbbfa013ca134beea4e81e8ae144 100644
--- a/frog/gen.dart
+++ b/frog/gen.dart
@@ -448,7 +448,7 @@ function $inheritsMembers(child, parent) {
// [HashMapImplementation] which internally uses a constant expression.
for (var global in list) {
if (global.field == null) {
- writer.writeln('${global.name} = ${global.exp.code};');
+ writer.writeln('var ${global.name} = ${global.exp.code};');
}
}
}

Powered by Google App Engine
This is Rietveld 408576698