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

"Override method in" implemented trait not proposed #705

Closed
mauromol opened this issue Sep 7, 2018 · 3 comments
Closed

"Override method in" implemented trait not proposed #705

mauromol opened this issue Sep 7, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@mauromol
Copy link

mauromol commented Sep 7, 2018

Consider this:

package test30
trait T {
	String getFoo() { 'foo' }
}

And:

package test30

class A implements T {
  |
}

Invoke code assist at "|": the suggestion list proposes to override methods inherited from Object, but not T.getFoo().
If T is an interface, it works correctly instead.

@eric-milles
Copy link
Member

What am I missing?

traits

@groovy groovy deleted a comment from mauromol Sep 10, 2018
@groovy groovy deleted a comment from mauromol Sep 10, 2018
@groovy groovy deleted a comment from mauromol Sep 11, 2018
@eric-milles eric-milles self-assigned this Sep 14, 2018
@eric-milles eric-milles added this to the v3.1.0 milestone Sep 14, 2018
@eric-milles
Copy link
Member

Ready to test

@mauromol
Copy link
Author

It works with 3.1.0.xx-201809160114-e48, thank you! 👍

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

2 participants