mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
19 lines
257 B
Kotlin
Vendored
19 lines
257 B
Kotlin
Vendored
// FILE: Foo.java
|
|
|
|
import java.util.Set;
|
|
|
|
public class Foo {
|
|
public interface A extends Set<String> {}
|
|
|
|
public interface B extends Set<String> {}
|
|
}
|
|
|
|
// FILE: 1.kt
|
|
|
|
import Foo.*
|
|
import java.util.HashSet
|
|
|
|
class Impl(b: B): A, B by b
|
|
|
|
fun box() = "OK"
|