mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
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:
parent
ab8e70addd
commit
a07f0dc40f
1 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue