Index: pkg/analysis_server/lib/src/domain_completion.dart |
diff --git a/pkg/analysis_server/lib/src/domain_completion.dart b/pkg/analysis_server/lib/src/domain_completion.dart |
index c5cefd17fe7776032f68cd910c9a6bdb95ef8957..a956a7dd5421715e437bef072a7284c189dbc8cb 100644 |
--- a/pkg/analysis_server/lib/src/domain_completion.dart |
+++ b/pkg/analysis_server/lib/src/domain_completion.dart |
@@ -7,7 +7,7 @@ library domain.completion; |
import 'dart:async'; |
import 'package:analysis_server/completion/completion_core.dart' |
- show CompletionRequest; |
+ show CompletionRequest, CompletionResult; |
import 'package:analysis_server/src/analysis_server.dart'; |
import 'package:analysis_server/src/constants.dart'; |
import 'package:analysis_server/src/context_manager.dart'; |
@@ -194,13 +194,13 @@ class CompletionDomainHandler implements RequestHandler { |
++notificationCount; |
performance.logElapseTime("notification $notificationCount send", () { |
sendCompletionNotification(completionId, result.replacementOffset, |
- result.replacementLength, result.suggestions, result.last); |
+ result.replacementLength, result.suggestions, result.isLast); |
}); |
if (notificationCount == 1) { |
performance.logFirstNotificationComplete('notification 1 complete'); |
performance.suggestionCountFirst = result.suggestions.length; |
} |
- if (result.last) { |
+ if (result.isLast) { |
performance.notificationCount = notificationCount; |
performance.suggestionCountLast = result.suggestions.length; |
performance.complete(); |