| Index: pkg/analysis_server/lib/src/services/completion/imported_computer.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/imported_computer.dart b/pkg/analysis_server/lib/src/services/completion/imported_computer.dart
|
| index 0d39c0bae706610f99c6712c02b26deee41b52fa..c32cf32b81696bb858446dfd378dbf8e5b0569d7 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/imported_computer.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/imported_computer.dart
|
| @@ -93,9 +93,12 @@ class _ImportedSuggestionBuilder implements SuggestionBuilder {
|
|
|
| Future future = null;
|
| if (!cache.isImportInfoCached(request.unit)) {
|
| - future = cache.computeImportInfo(request.unit, request.searchEngine);
|
| + future = cache.computeImportInfo(
|
| + request.unit,
|
| + request.searchEngine,
|
| + shouldWaitForLowPrioritySuggestions);
|
| }
|
| - if (future != null && shouldWaitForLowPrioritySuggestions) {
|
| + if (future != null) {
|
| return future.then(addSuggestions);
|
| }
|
| return addSuggestions(true);
|
|
|