| Index: tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
|
| index 269cc1cf5b1b9eb9ec06410ad24a8efdcc44117a..b4091f3fe5ea7688646c4f1eb4300a7a691379e1 100644
|
| --- a/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -8,7 +8,6 @@ import 'memory_source_file_helper.dart';
|
|
|
| import '../../../sdk/lib/_internal/compiler/implementation/dart2jslib.dart'
|
| show NullSink;
|
| -import '../../../sdk/lib/_internal/compiler/implementation/filenames.dart';
|
|
|
| import '../../../sdk/lib/_internal/compiler/compiler.dart'
|
| show Diagnostic, DiagnosticHandler;
|
| @@ -26,6 +25,8 @@ class DiagnosticMessage {
|
| final Diagnostic kind;
|
|
|
| DiagnosticMessage(this.uri, this.begin, this.end, this.message, this.kind);
|
| +
|
| + String toString() => '$uri:$begin:$end:$message:$kind';
|
| }
|
|
|
| class DiagnosticCollector {
|
| @@ -52,6 +53,10 @@ class DiagnosticCollector {
|
| Iterable<DiagnosticMessage> get hints {
|
| return filterMessagesByKind(Diagnostic.HINT);
|
| }
|
| +
|
| + Iterable<DiagnosticMessage> get infos {
|
| + return filterMessagesByKind(Diagnostic.INFO);
|
| + }
|
| }
|
|
|
| DiagnosticHandler createDiagnosticHandler(DiagnosticHandler diagnosticHandler,
|
|
|