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 274b7a1cb36d8d18572dec63aeea0b9eb6fd2abd..41fa44f637b04f6a24712da5537293c6632cb2d2 100644 |
--- a/pkg/analyzer/lib/src/generated/incremental_resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/incremental_resolver.dart |
@@ -118,6 +118,7 @@ class IncrementalBodyDelta extends Delta { |
isByTask(PropagateVariableTypeTask.DESCRIPTOR) || |
isByTask(ScanDartTask.DESCRIPTOR) || |
isByTask(ResolveConstantExpressionTask.DESCRIPTOR) || |
+ isByTask(ResolveDirectivesTask.DESCRIPTOR) || |
isByTask(ResolveDirectiveElementsTask.DESCRIPTOR) || |
isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) || |
isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) || |
@@ -876,7 +877,9 @@ class PoorMansIncrementalResolver { |
_sourceEntry.setValueIncremental(LINE_INFO, _newLineInfo, false); |
// parse results |
_sourceEntry.setValueIncremental(PARSE_ERRORS, _newParseErrors, true); |
+ _sourceEntry.setValueIncremental(PARSED_UNIT1, _oldUnit, false); |
_sourceEntry.setValueIncremental(PARSED_UNIT, _oldUnit, false); |
+ _sourceEntry.setValueIncremental(RESOLVE_DIRECTIVES_ERRORS, _newParseErrors, true); |
// referenced names |
ReferencedNames referencedNames = new ReferencedNames(_unitSource); |
new ReferencedNamesBuilder(referencedNames).build(_oldUnit); |