Chromium Code Reviews| 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. |
| // |