Skip to content

Completion doesn't show pattern declared variables on when #61878

@FMorschel

Description

@FMorschel

Repro

class A {
  int? weirdName;
}

void f(A a) {
  switch (a) {
    case A(:var weirdName) when wei^:

  }
}

CC @scheglov @bwilkerson

Could this be similar to #61676?

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions