Skip to content

Fix type inferencing and syntax highlighting for bean-style reference to interface default method #1372

@eric-milles

Description

@eric-milles

Consider the following:

public interface Face {
  default String getValue() {
    return "value";
  }
}
class Impl implements Face {
}
void test(Impl impl) {
  impl.getValue()
  impl.value
}

"value" is displayed as unknown (underlined).

image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions