Skip to content

Remove semicolons save action fails to identify necessary semicolon before closure expression #1124

@eric-milles

Description

@eric-milles

Consider the following:

def a = m();
{ -> println a }
  // or
def b = '123';
{ -> b = 123 }

When saving the editor with the "Remove unnecessary semicolons" save action enabled, the semicolon is removed and the closure becomes associated with the method call.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions