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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1534033004: Use READY_RESOLVED_UNIT flag for ordering tasks. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years 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/src/task/dart_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index 5a64d4c347eaa7189beff0b93d64ffc5e05fa219..e8c86d35d24dc85be931f182b6f643538d2f5a91 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -2946,8 +2946,8 @@ class InferInstanceMembersInUnitTask extends SourceBasedAnalysisTask {
// Require that full inference be complete for all dependencies of the
// current library cycle.
'orderLibraryCycles': LIBRARY_CYCLE_DEPENDENCIES.of(unit).toList(
- (CompilationUnitElementImpl unit) => RESOLVED_UNIT9
- .of(new LibrarySpecificUnit(unit.librarySource, unit.source)))
+ (CompilationUnitElementImpl unit) =>
+ READY_RESOLVED_UNIT.of(unit.librarySource))
Brian Wilkerson 2015/12/18 18:52:19 I'm a little concerned by the specifics of this ch
};
}
@@ -3186,8 +3186,8 @@ class InferStaticVariableTypeTask extends InferStaticVariableTask {
// Require that full inference be complete for all dependencies of the
// current library cycle.
'orderLibraryCycles': LIBRARY_CYCLE_DEPENDENCIES.of(unit).toList(
- (CompilationUnitElementImpl unit) => RESOLVED_UNIT9
- .of(new LibrarySpecificUnit(unit.librarySource, unit.source)))
+ (CompilationUnitElementImpl unit) =>
+ READY_RESOLVED_UNIT.of(unit.librarySource))
};
}
@@ -3654,8 +3654,8 @@ class PartiallyResolveUnitReferencesTask extends SourceBasedAnalysisTask {
// Require that full inference be complete for all dependencies of the
// current library cycle.
'orderLibraryCycles': LIBRARY_CYCLE_DEPENDENCIES.of(unit).toList(
- (CompilationUnitElementImpl unit) => RESOLVED_UNIT9
- .of(new LibrarySpecificUnit(unit.librarySource, unit.source)))
+ (CompilationUnitElementImpl unit) =>
+ READY_RESOLVED_UNIT.of(unit.librarySource))
};
}
@@ -4439,8 +4439,8 @@ class ResolveInstanceFieldsInUnitTask extends SourceBasedAnalysisTask {
// Require that full inference be complete for all dependencies of the
// current library cycle.
'orderLibraryCycles': LIBRARY_CYCLE_DEPENDENCIES.of(unit).toList(
- (CompilationUnitElementImpl unit) => RESOLVED_UNIT9
- .of(new LibrarySpecificUnit(unit.librarySource, unit.source)))
+ (CompilationUnitElementImpl unit) =>
+ READY_RESOLVED_UNIT.of(unit.librarySource))
};
}
@@ -5101,7 +5101,6 @@ class StrongModeVerifyUnitTask extends SourceBasedAnalysisTask {
unit.accept(new CodeChecker(
typeProvider, new StrongTypeSystemImpl(), errorListener));
}
-
//
// Record outputs.
//
« no previous file with comments | « no previous file | pkg/analyzer/test/src/task/dart_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698