diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-04 17:50:08 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-04 17:50:08 +0100 |
commit | 04fc8589d308a6dc254d13b20079a69e1aafcb93 (patch) | |
tree | 0efc659af101703df7e54577c14e6ea527c4a1f4 /src/main/kotlin | |
parent | eb3224754130d0e1a674533bea7ff94a2e751baa (diff) | |
download | reproduction-infinite-compile-04fc8589d308a6dc254d13b20079a69e1aafcb93.tar.gz reproduction-infinite-compile-04fc8589d308a6dc254d13b20079a69e1aafcb93.tar.bz2 reproduction-infinite-compile-04fc8589d308a6dc254d13b20079a69e1aafcb93.zip |
Diffstat (limited to 'src/main/kotlin')
-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(), |