Skip to content

Fix code navigation for type-checked reference to trait method #1476

@eric-milles

Description

@eric-milles

Consider the following:

trait Bar<T> {
  T get(x,y) {
  }
}
class Foo<V> implements Bar<V> {
  static <V> Foo<V> create() { }
}
@TypeChecked test(Foo<Number> foo) {
  Number x = foo.get(null, null)
}

Method call "foo.get(...)" is showing Foo as the declaring class and navigation goes to the top of the file.

image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions