Skip to content

Code completion does not add necessary qualifier for method implemented by multiple traits #760

@eric-milles

Description

@eric-milles

Consider the following:

trait One {
  def foo() {}
}
trait Two {
  def foo() {}
}
class Three implements One, Two {
  def bar() {
    fo|
  }
}

Content assist (Ctrl+Space) at | should show 3 proposals for foo(). When accepting the proposal foo() : Object - One, the insertion should be One.super.foo(). When accepting the proposal foo() : Object - Two, the insertion could be Two.super.foo() or just foo().

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions