diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firm/ManagedConfig.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firm/ManagedConfig.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt index 35f6a9d..64b04d3 100644 --- a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt +++ b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt @@ -9,13 +9,16 @@ interface InterfaceB<E> { } interface InterfaceA<T> +interface InterfaceC + +fun <E : InterfaceC> createInterfaceAKotlin():InterfaceA<E> = TODO() fun <E : Any> funA( intA: InterfaceA<E>, intB: InterfaceB<E>, ) {} -fun <E> funB() where E : Enum<E>, E : JavaHelper { +fun <E> funB() where E : Enum<E>, E : InterfaceC { funA( JavaHelper.createInterfaceA(), InterfaceB.default(), |