mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
23 lines
289 B
Kotlin
Vendored
23 lines
289 B
Kotlin
Vendored
// FILE: kt45934.kt
|
|
|
|
class C(client: J) : I by client
|
|
|
|
// FILE: I.java
|
|
|
|
import java.util.List;
|
|
|
|
public interface I {
|
|
<C> List<C> foo();
|
|
}
|
|
|
|
// FILE: J.java
|
|
|
|
import java.util.List;
|
|
|
|
public class J implements I {
|
|
@Override
|
|
public List<String> foo() {
|
|
return null;
|
|
}
|
|
}
|