Skip to content

Fix folding and syntax highlighting for compact constructor #1328

@eric-milles

Description

@eric-milles

Consider the following:

record Person(String name, Date dob) {
  Person {
    assert name?.size() > 1
    assert dob != null
  }
  Person(Person that) {
    this.name = that.name
  }
}

The compact constructor name is missing highlighting and hover information and the body is missing a collapse control.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions