mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 04:06:59 +00:00
Small change from https://dart-review.googlesource.com/c/sdk/+/153020 that Gerrit did not successfully patch before landing the PR
Change-Id: Iac0907d353d7c39c84bbe5c9364c7888e481b694 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152904 Auto-Submit: Jaime Wren <jwren@google.com> Commit-Queue: Jaime Wren <jwren@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
This commit is contained in:
parent
b08ade3748
commit
fffa2bd30c
|
@ -1088,8 +1088,7 @@ class CompletionResult {
|
||||||
expectedCompletion.elementKind == ElementKind.ENUM ||
|
expectedCompletion.elementKind == ElementKind.ENUM ||
|
||||||
expectedCompletion.elementKind == ElementKind.TYPE_PARAMETER) {
|
expectedCompletion.elementKind == ElementKind.TYPE_PARAMETER) {
|
||||||
return CompletionGroup.typeReference;
|
return CompletionGroup.typeReference;
|
||||||
} else if (expectedCompletion.elementKind == ElementKind.LOCAL_VARIABLE ||
|
} else if (expectedCompletion.elementKind == ElementKind.LOCAL_VARIABLE) {
|
||||||
expectedCompletion.elementKind == ElementKind.PARAMETER) {
|
|
||||||
return CompletionGroup.localReference;
|
return CompletionGroup.localReference;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue