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

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

Issue 1423623008: Improve messages and static use for super/this-calls. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 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: tests/compiler/dart2js/memory_compiler.dart
diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
index 0de4d37a334674d8fb3323651a3933eed5856c22..8b77263f4ce88c0c60c609e392945e9c2d7255b9 100644
--- a/tests/compiler/dart2js/memory_compiler.dart
+++ b/tests/compiler/dart2js/memory_compiler.dart
@@ -40,7 +40,7 @@ class DiagnosticMessage {
DiagnosticMessage(
this.message, this.uri, this.begin, this.end, this.text, this.kind);
- String toString() => '$uri:$begin:$end:$text:$kind';
+ String toString() => '${message.kind}:$uri:$begin:$end:$text:$kind';
}
class DiagnosticCollector implements CompilerDiagnostics {
« no previous file with comments | « tests/compiler/dart2js/diagnose_ambiguous_test.dart ('k') | tests/compiler/dart2js/message_kind_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698