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.
Consider this:
And:
Invoke code assist at "|": the suggestion list proposes to override methods inherited from
Object, but notT.getFoo().If
Tis an interface, it works correctly instead.