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

Unified Diff: frog/var_member.dart

Issue 8469016: Adding in-browser correctness testing via selenium. (Closed) Base URL: http://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/var_member.dart
===================================================================
--- frog/var_member.dart (revision 1427)
+++ frog/var_member.dart (working copy)
@@ -247,10 +247,11 @@
if (_fallbackStubs.length == 0) return;
code.enterBlock('\$varMethod("$name", {');
+ var lastOne = _fallbackStubs[_fallbackStubs.length - 1];
for (var stub in _fallbackStubs) {
code.write('"${stub.typeName}": ');
stub.generateBody(code);
- code.writeln(',');
+ code.writeln(stub == lastOne ? '' : ',');
}
code.exitBlock('});');
}
« no previous file with comments | « frog/gen.dart ('k') | tests/language/language.status » ('j') | tools/testing/architecture.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698