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

Unified Diff: pkg/analysis_server/lib/src/context_directory_manager.dart

Issue 341533005: Change contract for ChangeSet to reflect AnalysisContext behavior. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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/analysis_server/lib/src/context_directory_manager.dart
diff --git a/pkg/analysis_server/lib/src/context_directory_manager.dart b/pkg/analysis_server/lib/src/context_directory_manager.dart
index 7abfda8b3c479256453c9b8bc4e36e5afa996b31..960cd9aece23bdf24676151a7eed8e18bcdf8296 100644
--- a/pkg/analysis_server/lib/src/context_directory_manager.dart
+++ b/pkg/analysis_server/lib/src/context_directory_manager.dart
@@ -137,13 +137,6 @@ abstract class ContextDirectoryManager {
Source source = info.sources[event.path];
if (source != null) {
ChangeSet changeSet = new ChangeSet();
- // TODO(paulberry): technically we should skip calling changedSource()
- // for files that currently have their contents overridden. However,
- // it's hard to figure out which files have their contents overridden
- // (this info isn't exposed through the AnalysisContext interface),
- // and besides, if we go ahead and call changedSource() we get the
- // behavior we want (the context continues consulting the overridden
- // file contents).
changeSet.changedSource(source);
applyChangesToContext(folder, changeSet);
}
« no previous file with comments | « editor/tools/plugins/com.google.dart.engine_test/src/com/google/dart/engine/internal/context/AnalysisContextImplTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698