Skip to content

Quick Assist "Replace method call with property expression" does not work on static method call expr #1079

@eric-milles

Description

@eric-milles

Consider the following:

class Foo {
  static getBar() {}
  static test() {
    getBar()
  }
}

Executing "Replace method call with property expression" (Ctrl+Shift+,) on "getBar" does not replace getBar() with bar.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions