Skip to content

Convert to method creates invalid syntax for no-param closure with arrow #945

@eric-milles

Description

@eric-milles

Consider the following:

class C {
  Stirng x = { -> ... }
}

Performing "Convert closure declaration to method" on property x fails to remove the -> from the source.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions