Skip to content

Fix semantic highlighting of deprecated this or super constructor calls #907

@eric-milles

Description

@eric-milles

Consider the following:

class Type {
  Type() { this(null) }
  @Deprecated Type(String string) { ... }
}

Syntax highlighting of the deprecated constructor call "this(null)" currently covers the entire expression. Only "this" or "super" in the case of a deprecated super class constructor should be highlighted (default style is strikethrough).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions