mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
Intentions: 'Implement abstract member' (Kotlin -> Java)
#KT-8467 Fixed
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package source;
|
||||
|
||||
abstract class X<S> implements T<S> {
|
||||
|
||||
}
|
||||
|
||||
class Y implements T<String> {
|
||||
|
||||
}
|
||||
|
||||
class Z implements T<Boolean> {
|
||||
@Override
|
||||
public Boolean getFoo() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
interface U extends T<Object> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package source
|
||||
|
||||
interface T<X> {
|
||||
val <caret>foo: X
|
||||
}
|
||||
Reference in New Issue
Block a user