Remove an unused parameter

Change-Id: I48b4e4138315656168b475ea532a88a75acf51a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115271
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
Brian Wilkerson 2019-09-03 20:19:46 +00:00 committed by commit-bot@chromium.org
parent ab8e70addd
commit a07f0dc40f

View file

@ -106,17 +106,11 @@ class InheritedReferenceContributor extends DartCompletionContributor
}
List<CompletionSuggestion> _computeSuggestionsForClass2(
ClassElement classElement, DartCompletionRequest request,
{bool skipChildClass = true}) {
ClassElement classElement, DartCompletionRequest request) {
bool isFunctionalArgument = request.target.isFunctionalArgument();
kind = isFunctionalArgument
? CompletionSuggestionKind.IDENTIFIER
: CompletionSuggestionKind.INVOCATION;
if (!skipChildClass) {
_addSuggestionsForType(classElement.type, request,
isFunctionalArgument: isFunctionalArgument);
}
for (InterfaceType type in classElement.allSupertypes) {
_addSuggestionsForType(type, request,
isFunctionalArgument: isFunctionalArgument);