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

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

Issue 1215723004: Remove last failing test and minor clean-up (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/context/context.dart
diff --git a/pkg/analyzer/lib/src/context/context.dart b/pkg/analyzer/lib/src/context/context.dart
index a3c427fb831dd416f9dfd199ffae62e6175fb72d..fc44cf809e10d22a099cdf2a50cd9add80840351 100644
--- a/pkg/analyzer/lib/src/context/context.dart
+++ b/pkg/analyzer/lib/src/context/context.dart
@@ -1392,12 +1392,6 @@ class AnalysisContextImpl implements InternalAnalysisContext {
String originalContents = _contentCache.setContents(source, contents);
if (contents != null) {
if (contents != originalContents) {
- // TODO(brianwilkerson) Find a better way to do incremental analysis.
-// if (_options.incremental) {
-// _incrementalAnalysisCache = IncrementalAnalysisCache.update(
-// _incrementalAnalysisCache, source, originalContents, contents,
-// offset, oldLength, newLength, _cache.get(source));
-// }
_sourceChanged(source);
changed = true;
CacheEntry entry = _cache.get(source);
« no previous file with comments | « no previous file | pkg/analyzer/test/src/context/context_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698