Skip to content

Search for static method w/o overloads should be exact match in static import #1019

@eric-milles

Description

@eric-milles

Consider the following:

import static Pogo.meth
class Pogo {
  static meth() {}
}
meth()

Searching for references (Ctrl+Shift+G) produces 1 exact match (the call meth()) and 1 potential match (in the static import). Since there are no overloads, the reference is not ambiguous and should be indicated as exact.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions