Skip to content

Fix parameter completion proposals in empty method body #596

@eric-milles

Description

@eric-milles

Consider the following:

class Bean {
  String prop
  def method(int param) {
    |
  }
}

Content assist (Ctrl-Space) at | should include proposal for param. Currently local variables (including method parameters) are not returned in this case because containing method's BlockStatement has been collapsed to a ReturnStatement.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions