Skip to content

Wrong "rec" code fix suggestion for static members #11194

@SchlenkR

Description

@SchlenkR

See the attached screenshot:

image

The "Make recursive" suggestion provided in the context of static methods leads to wrong code.

I suggest to either

  • remove that code fix in this context or
  • introduce a code fix that inserts the type to be able to make the recursive call to the static method.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions