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

Unified Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 1360583003: Fix for a stupid copy/paste bug in the incremental resolver. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months 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 | « no previous file | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/generated/incremental_resolver.dart
diff --git a/pkg/analyzer/lib/src/generated/incremental_resolver.dart b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
index f1090176365999b6d42309b086033ffb9db849e5..46cd6773cb6989a83061664f823ddf530d2267d5 100644
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart
@@ -1715,8 +1715,8 @@ class PoorMansIncrementalResolver {
_newSourceEntry.setValueIncremental(SCAN_ERRORS, _newScanErrors, true);
_newSourceEntry.setValueIncremental(LINE_INFO, _newLineInfo, false);
// parse results
- _newSourceEntry.setValueIncremental(PARSE_ERRORS, _newScanErrors, true);
- _newSourceEntry.setValueIncremental(PARSED_UNIT, _newScanErrors, false);
+ _newSourceEntry.setValueIncremental(PARSE_ERRORS, _newParseErrors, true);
+ _newSourceEntry.setValueIncremental(PARSED_UNIT, _oldUnit, false);
}
void _updateEntry_OLD() {
« no previous file with comments | « no previous file | pkg/analyzer/test/generated/incremental_resolver_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698