| Index: dart/pkg/analyzer/test/generated/test_support.dart
|
| ===================================================================
|
| --- dart/pkg/analyzer/test/generated/test_support.dart (revision 29785)
|
| +++ dart/pkg/analyzer/test/generated/test_support.dart (working copy)
|
| @@ -283,7 +283,7 @@
|
| * @param secondError the second error being compared
|
| * @return `true` if the two errors are equivalent
|
| */
|
| - bool equals3(AnalysisError firstError, AnalysisError secondError) => identical(firstError.errorCode, secondError.errorCode) && firstError.offset == secondError.offset && firstError.length == secondError.length && equals4(firstError.source, secondError.source);
|
| + bool equals4(AnalysisError firstError, AnalysisError secondError) => identical(firstError.errorCode, secondError.errorCode) && firstError.offset == secondError.offset && firstError.length == secondError.length && equals5(firstError.source, secondError.source);
|
|
|
| /**
|
| * Return `true` if the two sources are equivalent.
|
| @@ -292,7 +292,7 @@
|
| * @param secondSource the second source being compared
|
| * @return `true` if the two sources are equivalent
|
| */
|
| - bool equals4(Source firstSource, Source secondSource) {
|
| + bool equals5(Source firstSource, Source secondSource) {
|
| if (firstSource == null) {
|
| return secondSource == null;
|
| } else if (secondSource == null) {
|
| @@ -376,7 +376,7 @@
|
| */
|
| bool foundAndRemoved(List<AnalysisError> errors, AnalysisError targetError) {
|
| for (AnalysisError error in errors) {
|
| - if (equals3(error, targetError)) {
|
| + if (equals4(error, targetError)) {
|
| errors.remove(error);
|
| return true;
|
| }
|
|
|