Skip to content

Fix syntax highlighting for statements in deprecated class #1337

@eric-milles

Description

@eric-milles

Consider the following:

@Deprecated
class Old {
  def m() {
    return null
  }
}

Deprecation highlighting (strikethrough) is being applied to statements with otherwise-neutral highlighting, like "return null" in the example.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions