Skip to content

Fix type inferencing, syntax highlighting and content assist for super interface methods #1344

@eric-milles

Description

@eric-milles

Consider the following:

class C implements Comparator<String> {
  @Override
  int compare(String one, String two) {
  }
  @Override
  Comparator<String> reversed() {
    return super.reversed() // works in Groovy 4 (GROOVY-9884, GROOVY-9909, ...)
  }
}

Delegating to super default methods is supported as of Groovy 4.

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions