| Index: tests/compiler/dart2js/memory_compiler.dart
|
| diff --git a/tests/compiler/dart2js/memory_compiler.dart b/tests/compiler/dart2js/memory_compiler.dart
|
| index 06e731447a1ba5c46d6c6a82100c3638e3ac4f81..49664b7fffa3942e33cf665715f7a11f5b7af893 100644
|
| --- a/tests/compiler/dart2js/memory_compiler.dart
|
| +++ b/tests/compiler/dart2js/memory_compiler.dart
|
| @@ -81,6 +81,10 @@ class DiagnosticCollector implements CompilerDiagnostics {
|
| bool get hasRegularMessages {
|
| return messages.any((m) => m.kind != Diagnostic.VERBOSE_INFO);
|
| }
|
| +
|
| + void clear() {
|
| + messages.clear();
|
| + }
|
| }
|
|
|
| class MultiDiagnostics implements CompilerDiagnostics {
|
|
|