We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b852ddc commit 465bae9Copy full SHA for 465bae9
pkg/analysis_server/lib/src/services/completion/dart/completion_manager.dart
@@ -204,9 +204,7 @@ class DartCompletionRequestImpl implements DartCompletionRequest {
204
@override
205
Future<List<Directive>> resolveDirectives() async {
206
CompilationUnit libUnit;
207
- if (librarySource == source) {
208
- libUnit = target.unit;
209
- } else if (librarySource != null) {
+ if (librarySource != null) {
210
// TODO(danrubel) only resolve the directives
211
const RESOLVE_DIRECTIVES_TAG = 'resolve directives';
212
performance.logStartTime(RESOLVE_DIRECTIVES_TAG);
0 commit comments