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

Side by Side Diff: pkg/analyzer/lib/src/generated/incremental_resolver.dart

Issue 2288223003: Don't perform final fields and top-level variables type propagation. (Closed)
Patch Set: Rewrite 'reuse' tests using 'inferredTypeSlot'. Created 4 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 unified diff | Download patch
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library analyzer.src.generated.incremental_resolver; 5 library analyzer.src.generated.incremental_resolver;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import 'dart:math' as math; 8 import 'dart:math' as math;
9 9
10 import 'package:analyzer/dart/ast/ast.dart'; 10 import 'package:analyzer/dart/ast/ast.dart';
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 isByTask(BuildDirectiveElementsTask.DESCRIPTOR) || 91 isByTask(BuildDirectiveElementsTask.DESCRIPTOR) ||
92 isByTask(BuildEnumMemberElementsTask.DESCRIPTOR) || 92 isByTask(BuildEnumMemberElementsTask.DESCRIPTOR) ||
93 isByTask(BuildExportNamespaceTask.DESCRIPTOR) || 93 isByTask(BuildExportNamespaceTask.DESCRIPTOR) ||
94 isByTask(BuildLibraryElementTask.DESCRIPTOR) || 94 isByTask(BuildLibraryElementTask.DESCRIPTOR) ||
95 isByTask(BuildPublicNamespaceTask.DESCRIPTOR) || 95 isByTask(BuildPublicNamespaceTask.DESCRIPTOR) ||
96 isByTask(BuildSourceExportClosureTask.DESCRIPTOR) || 96 isByTask(BuildSourceExportClosureTask.DESCRIPTOR) ||
97 isByTask(ComputeConstantDependenciesTask.DESCRIPTOR) || 97 isByTask(ComputeConstantDependenciesTask.DESCRIPTOR) ||
98 isByTask(ComputeConstantValueTask.DESCRIPTOR) || 98 isByTask(ComputeConstantValueTask.DESCRIPTOR) ||
99 isByTask(ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR) || 99 isByTask(ComputeInferableStaticVariableDependenciesTask.DESCRIPTOR) ||
100 isByTask(ComputeLibraryCycleTask.DESCRIPTOR) || 100 isByTask(ComputeLibraryCycleTask.DESCRIPTOR) ||
101 isByTask(ComputePropagableVariableDependenciesTask.DESCRIPTOR) ||
102 isByTask(DartErrorsTask.DESCRIPTOR) || 101 isByTask(DartErrorsTask.DESCRIPTOR) ||
103 isByTask(ReadyLibraryElement2Task.DESCRIPTOR) || 102 isByTask(ReadyLibraryElement2Task.DESCRIPTOR) ||
104 isByTask(ReadyLibraryElement5Task.DESCRIPTOR) || 103 isByTask(ReadyLibraryElement5Task.DESCRIPTOR) ||
105 isByTask(ReadyLibraryElement6Task.DESCRIPTOR) || 104 isByTask(ReadyLibraryElement7Task.DESCRIPTOR) ||
106 isByTask(ReadyResolvedUnitTask.DESCRIPTOR) || 105 isByTask(ReadyResolvedUnitTask.DESCRIPTOR) ||
107 isByTask(EvaluateUnitConstantsTask.DESCRIPTOR) || 106 isByTask(EvaluateUnitConstantsTask.DESCRIPTOR) ||
108 isByTask(GenerateHintsTask.DESCRIPTOR) || 107 isByTask(GenerateHintsTask.DESCRIPTOR) ||
109 isByTask(InferInstanceMembersInUnitTask.DESCRIPTOR) || 108 isByTask(InferInstanceMembersInUnitTask.DESCRIPTOR) ||
110 isByTask(InferStaticVariableTypesInUnitTask.DESCRIPTOR) || 109 isByTask(InferStaticVariableTypesInUnitTask.DESCRIPTOR) ||
111 isByTask(InferStaticVariableTypeTask.DESCRIPTOR) || 110 isByTask(InferStaticVariableTypeTask.DESCRIPTOR) ||
112 isByTask(LibraryErrorsReadyTask.DESCRIPTOR) || 111 isByTask(LibraryErrorsReadyTask.DESCRIPTOR) ||
113 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) || 112 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) ||
114 isByTask(ParseDartTask.DESCRIPTOR) || 113 isByTask(ParseDartTask.DESCRIPTOR) ||
115 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) || 114 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) ||
116 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) ||
117 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) ||
118 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) ||
119 isByTask(PropagateVariableTypeTask.DESCRIPTOR) ||
120 isByTask(ScanDartTask.DESCRIPTOR) || 115 isByTask(ScanDartTask.DESCRIPTOR) ||
121 isByTask(ResolveConstantExpressionTask.DESCRIPTOR) || 116 isByTask(ResolveConstantExpressionTask.DESCRIPTOR) ||
122 isByTask(ResolveDirectiveElementsTask.DESCRIPTOR) || 117 isByTask(ResolveDirectiveElementsTask.DESCRIPTOR) ||
118 isByTask(ResolvedUnit7InLibraryClosureTask.DESCRIPTOR) ||
119 isByTask(ResolvedUnit7InLibraryTask.DESCRIPTOR) ||
123 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) || 120 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) ||
124 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) || 121 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) ||
125 isByTask(ResolveLibraryTask.DESCRIPTOR) || 122 isByTask(ResolveLibraryTask.DESCRIPTOR) ||
126 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) || 123 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) ||
127 isByTask(ResolveTopLevelLibraryTypeBoundsTask.DESCRIPTOR) || 124 isByTask(ResolveTopLevelLibraryTypeBoundsTask.DESCRIPTOR) ||
128 isByTask(ResolveTopLevelUnitTypeBoundsTask.DESCRIPTOR) || 125 isByTask(ResolveTopLevelUnitTypeBoundsTask.DESCRIPTOR) ||
129 isByTask(ResolveUnitTask.DESCRIPTOR) || 126 isByTask(ResolveUnitTask.DESCRIPTOR) ||
130 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) || 127 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) ||
131 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) || 128 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) ||
132 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) || 129 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) ||
(...skipping 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1322 @override 1319 @override
1323 String toString() => name; 1320 String toString() => name;
1324 } 1321 }
1325 1322
1326 class _TokenPair { 1323 class _TokenPair {
1327 final _TokenDifferenceKind kind; 1324 final _TokenDifferenceKind kind;
1328 final Token oldToken; 1325 final Token oldToken;
1329 final Token newToken; 1326 final Token newToken;
1330 _TokenPair(this.kind, this.oldToken, this.newToken); 1327 _TokenPair(this.kind, this.oldToken, this.newToken);
1331 } 1328 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698