Index: tests/compiler/dart2js/diagnostic_reporter_helper.dart |
diff --git a/tests/compiler/dart2js/diagnostic_reporter_helper.dart b/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
index 16ff636323391d6e15e30e753e0c590c00365663..679ef8c7eeb9d187c9f2011be6e6c33137de52e9 100644 |
--- a/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
+++ b/tests/compiler/dart2js/diagnostic_reporter_helper.dart |
@@ -15,9 +15,7 @@ abstract class DiagnosticReporterWrapper extends DiagnosticReporter { |
DiagnosticReporter get reporter; |
@override |
- DiagnosticMessage createMessage( |
- Spannable spannable, |
- MessageKind messageKind, |
+ DiagnosticMessage createMessage(Spannable spannable, MessageKind messageKind, |
[Map arguments = const {}]) { |
return reporter.createMessage(spannable, messageKind, arguments); |
} |
@@ -36,31 +34,26 @@ abstract class DiagnosticReporterWrapper extends DiagnosticReporter { |
DiagnosticOptions get options => reporter.options; |
@override |
- void reportError( |
- DiagnosticMessage message, |
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) { |
+ void reportError(DiagnosticMessage message, |
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) { |
reporter.reportError(message, infos); |
} |
@override |
- void reportHint( |
- DiagnosticMessage message, |
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) { |
+ void reportHint(DiagnosticMessage message, |
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) { |
reporter.reportHint(message, infos); |
} |
@override |
- void reportInfo( |
- Spannable node, |
- MessageKind errorCode, |
+ void reportInfo(Spannable node, MessageKind errorCode, |
[Map arguments = const {}]) { |
reporter.reportInfo(node, errorCode, arguments); |
} |
@override |
- void reportWarning( |
- DiagnosticMessage message, |
- [List<DiagnosticMessage> infos = const <DiagnosticMessage> []]) { |
+ void reportWarning(DiagnosticMessage message, |
+ [List<DiagnosticMessage> infos = const <DiagnosticMessage>[]]) { |
reporter.reportWarning(message, infos); |
} |