Chromium Code Reviews| 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); |