Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propose private trait fields and methods within trait and implementers #753

Closed
eric-milles opened this issue Oct 26, 2018 · 0 comments
Closed
Assignees
Labels
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Oct 26, 2018

Consider the following:

trait T {
  public def f1
  private def f2
  public static def f3
  private static def f4
  def m1() {
    // Ctrl+Space should propose f1, f2, f3, f4, m1, m2, m3, m4
  }
  private def m2() {
    // Ctrl+Space should propose f1, f2, f3, f4, m1, m2, m3, m4
  }
  public static def m3() {
    // Ctrl+Space should propose f3, f4, m3, m4
  }
  private static def m4() {
    // Ctrl+Space should propose f3, f4, m3, m4
  }
}

class C implements T {
  def m() {
    // Ctrl+Space should propose T__f1, T__f2, T__f3, T__f4, m1, m2?, m3, m4
  }
  static def sm() {
    // Ctrl+Space should propose T__f3, T__f4, m3, m4
  }
}
@eric-milles eric-milles self-assigned this Oct 26, 2018
@eric-milles eric-milles added this to the v3.2.0 milestone Oct 26, 2018
@eric-milles eric-milles changed the title Propose private trait fields and methods within the trait Propose private trait fields and methods within trait and implementers Oct 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant