Skip to content

dart editor shows static members in code completion after instance variable #2498

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


For example:

class Zebra {
  static int x;
  Zebra() {}
}

void main() {
  Zebra z = new Zebra();
  z. // here code completion shows the static member 'x' even though it cannot be accessed through the instance variable
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions