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

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

Issue 51043010: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rename to getFirstToken(). 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 | « pkg/analyzer/test/generated/scanner_test.dart ('k') | tests/co19/co19-analyzer2.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 aebb0d29114fe8023b4c7f7398cd34a5837daf52..ac118a10905dbf9feaf2bacb5240c5106f62ff42 100644
--- a/pkg/analyzer/test/generated/test_support.dart
+++ b/pkg/analyzer/test/generated/test_support.dart
@@ -283,7 +283,7 @@ class GatheringErrorListener implements AnalysisErrorListener {
* @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 @@ class GatheringErrorListener implements AnalysisErrorListener {
* @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 @@ class GatheringErrorListener implements AnalysisErrorListener {
*/
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 | « pkg/analyzer/test/generated/scanner_test.dart ('k') | tests/co19/co19-analyzer2.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698