Skip to content

Code completion shows operators like == in places they are not valid to call #60118

@DanTup

Description

@DanTup

Invoking completion at ^:

class A {

}

void f() {
  A().^
}

Includes the ==() method (and presumably, other operators):

Image

However it's not valid to call them in this way ("Expected an identifier").

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featuretype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions