Skip to content

Fix semantic highlighting of constructor declarations #905

@eric-milles

Description

@eric-milles

Consider the following:

class Example {
  Example() {}
  Example(arg) {}
  Example(... args) {}
  void meth() {}
}

The 3 constructor declarations should have their names colored the same as "meth". Currently the constructor names are colored in the editor the same as the parens and braces.

Note: In this case, "Example" is longer than "<init>", which is the internal name of the method node.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions