Skip to content

No completion when exact name of constructor and has static method with prefix nameΒ #61722

@scheglov

Description

@scheglov
class A {
  factory A.read();
  static A readOptional();
  void f() {
    A.read^();
  }
}

Expected: both read and readOptional suggested.
Actual: no suggestions at all, the caret moves past ().

If not exact name:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-completionIssues with the analysis server's code completion featuredevexp-completion-correctnessIssues with the correctness of the analysis server's code completion feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions