Index: dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java |
=================================================================== |
--- dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java (revision 32843) |
+++ dart/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/internal/context/AnalysisContextImpl.java (working copy) |
@@ -3680,8 +3680,8 @@ |
invalidateLibraryResolution(library, writer); |
} |
- removeFromParts(source, ((DartEntry) sourceEntry)); |
- DartEntryImpl dartCopy = ((DartEntry) sourceEntry).getWritableCopy(); |
+ removeFromParts(source, ((DartEntry) cache.get(source))); |
+ DartEntryImpl dartCopy = ((DartEntry) cache.get(source)).getWritableCopy(); |
dartCopy.setModificationTime(source.getModificationStamp()); |
dartCopy.invalidateAllInformation(); |
cache.put(source, dartCopy); |