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

Unified Diff: tests/compiler/dart2js/js_spec_string_test.dart

Issue 1136843006: dart2js cps: Access to lazily initialized fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 5 years, 7 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: tests/compiler/dart2js/js_spec_string_test.dart
diff --git a/tests/compiler/dart2js/js_spec_string_test.dart b/tests/compiler/dart2js/js_spec_string_test.dart
index 876c87ce9b0a362be3252a6e87d1fb51476ac24f..53441776721fc8b08fea7b3d0f925fa5ba444b5a 100644
--- a/tests/compiler/dart2js/js_spec_string_test.dart
+++ b/tests/compiler/dart2js/js_spec_string_test.dart
@@ -20,7 +20,7 @@ class Listener implements DiagnosticListener {
errorMessage = message;
throw "error";
}
- reportError(spannable, kind, arguments) {
+ reportError(spannable, kind, [arguments]) {
errorMessage = '$arguments'; // E.g. "{text: Duplicate tag 'new'.}"
throw "error";
}
« no previous file with comments | « tests/compiler/dart2js/backend_dart/sexpr_unstringifier.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698