diff options
Diffstat (limited to 'src/main/kotlin/moe/nea')
-rw-r--r-- | src/main/kotlin/moe/nea/firm/ManagedConfig.kt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt index b738f6a..35f6a9d 100644 --- a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt +++ b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt @@ -11,12 +11,12 @@ interface InterfaceB<E> { interface InterfaceA<T> fun <E : Any> funA( - codec: InterfaceA<E>, - renderer: InterfaceB<E>, + intA: InterfaceA<E>, + intB: InterfaceB<E>, ) {} -inline fun <reified E> funB() where E : Enum<E>, E : JavaHelper { - return funA( +fun <E> funB() where E : Enum<E>, E : JavaHelper { + funA( JavaHelper.createInterfaceA(), InterfaceB.default(), ) |