| 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 6eee8e967ebd9aad1a83f8353a44f38f6ff41685..db342d478fcb624687ce0c8ac1e68e4eecce3361 100644
|
| --- a/pkg/analyzer/lib/src/context/context.dart
|
| +++ b/pkg/analyzer/lib/src/context/context.dart
|
| @@ -821,10 +821,8 @@ class AnalysisContextImpl implements InternalAnalysisContext {
|
| SourceKind kind = getKindOf(source);
|
| if (kind == SourceKind.LIBRARY) {
|
| return <Source>[source];
|
| - } else if (kind == SourceKind.PART) {
|
| - return dartWorkManager.getLibrariesContainingPart(source);
|
| }
|
| - return Source.EMPTY_ARRAY;
|
| + return dartWorkManager.getLibrariesContainingPart(source);
|
| }
|
|
|
| @override
|
|
|