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 61039bb0e4b32cf16e2b0ce7ff2b234feeb45091..1b7ccf743233a16611e8991328a402c5460df62e 100644 |
--- a/pkg/analyzer/lib/src/context/context.dart |
+++ b/pkg/analyzer/lib/src/context/context.dart |
@@ -1337,14 +1337,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
Object /*V*/ _computeResult( |
AnalysisTarget target, ResultDescriptor /*<V>*/ descriptor) { |
cache.CacheEntry entry = getCacheEntry(target); |
- if (descriptor is CompositeResultDescriptor) { |
- List compositeResults = []; |
- for (ResultDescriptor descriptor in descriptor.contributors) { |
- List value = _computeResult(target, descriptor); |
- compositeResults.addAll(value); |
- } |
- return compositeResults; |
- } |
CacheState state = entry.getState(descriptor); |
if (state == CacheState.FLUSHED || state == CacheState.INVALID) { |
_driver.computeResult(target, descriptor); |
@@ -1488,14 +1480,6 @@ class AnalysisContextImpl implements InternalAnalysisContext { |
if (entry == null) { |
return descriptor.defaultValue; |
} |
- if (descriptor is CompositeResultDescriptor) { |
- List compositeResults = []; |
- for (ResultDescriptor descriptor in descriptor.contributors) { |
- List value = _getResult(target, descriptor); |
- compositeResults.addAll(value); |
- } |
- return compositeResults; |
- } |
if (entry.isValid(descriptor)) { |
return entry.getValue(descriptor); |
} |