| Index: pkg/analyzer/test/generated/test_support.dart
|
| diff --git a/pkg/analyzer/test/generated/test_support.dart b/pkg/analyzer/test/generated/test_support.dart
|
| index 995876b50af22d440a86097ca3f3bf592dfb6672..fe7f86badd5c305fb2557c8daf89d8544ce4bedd 100644
|
| --- a/pkg/analyzer/test/generated/test_support.dart
|
| +++ b/pkg/analyzer/test/generated/test_support.dart
|
| @@ -473,17 +473,26 @@ class GatheringErrorListener implements AnalysisErrorListener {
|
| }
|
|
|
| /**
|
| - * Add all of the errors recorded by the given listener to this listener.
|
| + * Add all of the given errors to this listener.
|
| *
|
| - * @param listener the listener that has recorded the errors to be added
|
| + * @param the errors to be added
|
| */
|
| - void addAll(RecordingErrorListener listener) {
|
| - for (AnalysisError error in listener.errors) {
|
| + void addAll(List<AnalysisError> errors) {
|
| + for (AnalysisError error in errors) {
|
| onError(error);
|
| }
|
| }
|
|
|
| /**
|
| + * Add all of the errors recorded by the given listener to this listener.
|
| + *
|
| + * @param listener the listener that has recorded the errors to be added
|
| + */
|
| + void addAll2(RecordingErrorListener listener) {
|
| + addAll(listener.errors);
|
| + }
|
| +
|
| + /**
|
| * Assert that the number of errors that have been gathered matches the number of errors that are
|
| * given and that they have the expected error codes and locations. The order in which the errors
|
| * were gathered is ignored.
|
|
|