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

Unified Diff: pkg/analyzer/lib/src/context/cache.dart

Issue 1657463002: Element no longer implements AnalysisTarget Base URL: git@github.com:dart-lang/sdk.git@fixhash
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/context/cache.dart
diff --git a/pkg/analyzer/lib/src/context/cache.dart b/pkg/analyzer/lib/src/context/cache.dart
index 636d2ad5f89d3e984b02f6085f2bd38dd1fbe77c..a5d4b2142b076f6fc615ce120de6a41676ee6bca 100644
--- a/pkg/analyzer/lib/src/context/cache.dart
+++ b/pkg/analyzer/lib/src/context/cache.dart
@@ -930,7 +930,7 @@ abstract class CachePartition {
entry.fixExceptionState();
if (target is ElementImpl) {
// Detect attempts to mutate the map key.
- target.frozen = true;
+ (target as ElementImpl).frozen = true;
Brian Wilkerson 2016/02/01 15:43:20 Seem like this change should be moved back to the
}
entryMap[target] = entry;
_addIfSource(target);

Powered by Google App Engine
This is Rietveld 408576698