Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2118)

Unified Diff: dart/pkg/analyzer/test/generated/test_support.dart

Issue 56933002: Version 0.8.10.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/pkg/analyzer/test/generated/scanner_test.dart ('k') | dart/pkg/logging/lib/logging.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
}
« no previous file with comments | « dart/pkg/analyzer/test/generated/scanner_test.dart ('k') | dart/pkg/logging/lib/logging.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698