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

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

Issue 1480603002: Revert "Ensure that a complete library element has constants evaluated (issue 24890)" (Closed) Base URL: https://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 unified diff | Download patch
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 engine.incremental_resolver; 5 library engine.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/src/context/cache.dart' 10 import 'package:analyzer/src/context/cache.dart'
(...skipping 909 matching lines...) Expand 10 before | Expand all | Expand 10 after
920 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) || 920 isByTask(LibraryUnitErrorsTask.DESCRIPTOR) ||
921 isByTask(ParseDartTask.DESCRIPTOR) || 921 isByTask(ParseDartTask.DESCRIPTOR) ||
922 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) || 922 isByTask(PartiallyResolveUnitReferencesTask.DESCRIPTOR) ||
923 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) || 923 isByTask(PropagateVariableTypesInLibraryClosureTask.DESCRIPTOR) ||
924 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) || 924 isByTask(PropagateVariableTypesInLibraryTask.DESCRIPTOR) ||
925 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) || 925 isByTask(PropagateVariableTypesInUnitTask.DESCRIPTOR) ||
926 isByTask(PropagateVariableTypeTask.DESCRIPTOR) || 926 isByTask(PropagateVariableTypeTask.DESCRIPTOR) ||
927 isByTask(ScanDartTask.DESCRIPTOR) || 927 isByTask(ScanDartTask.DESCRIPTOR) ||
928 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) || 928 isByTask(ResolveInstanceFieldsInUnitTask.DESCRIPTOR) ||
929 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) || 929 isByTask(ResolveLibraryReferencesTask.DESCRIPTOR) ||
930 isByTask(ResolveLibraryTask.DESCRIPTOR) ||
931 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) || 930 isByTask(ResolveLibraryTypeNamesTask.DESCRIPTOR) ||
932 isByTask(ResolveUnitTask.DESCRIPTOR) || 931 isByTask(ResolveUnitTask.DESCRIPTOR) ||
933 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) || 932 isByTask(ResolveUnitTypeNamesTask.DESCRIPTOR) ||
934 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) || 933 isByTask(ResolveVariableReferencesTask.DESCRIPTOR) ||
935 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) || 934 isByTask(StrongModeVerifyUnitTask.DESCRIPTOR) ||
936 isByTask(VerifyUnitTask.DESCRIPTOR)) { 935 isByTask(VerifyUnitTask.DESCRIPTOR)) {
937 return DeltaResult.KEEP_CONTINUE; 936 return DeltaResult.KEEP_CONTINUE;
938 } 937 }
939 // invalidate all the other results 938 // invalidate all the other results
940 return DeltaResult.INVALIDATE_NO_DELTA; 939 return DeltaResult.INVALIDATE_NO_DELTA;
(...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after
2155 @override 2154 @override
2156 String toString() => name; 2155 String toString() => name;
2157 } 2156 }
2158 2157
2159 class _TokenPair { 2158 class _TokenPair {
2160 final _TokenDifferenceKind kind; 2159 final _TokenDifferenceKind kind;
2161 final Token oldToken; 2160 final Token oldToken;
2162 final Token newToken; 2161 final Token newToken;
2163 _TokenPair(this.kind, this.oldToken, this.newToken); 2162 _TokenPair(this.kind, this.oldToken, this.newToken);
2164 } 2163 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/context/context.dart ('k') | pkg/analyzer/lib/src/plugin/engine_plugin.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698