From eb3224754130d0e1a674533bea7ff94a2e751baa Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Wed, 4 Dec 2024 17:42:31 +0100 Subject: Further reduction --- src/main/kotlin/moe/nea/firm/ManagedConfig.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/kotlin/moe/nea') 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 { interface InterfaceA fun funA( - codec: InterfaceA, - renderer: InterfaceB, + intA: InterfaceA, + intB: InterfaceB, ) {} -inline fun funB() where E : Enum, E : JavaHelper { - return funA( +fun funB() where E : Enum, E : JavaHelper { + funA( JavaHelper.createInterfaceA(), InterfaceB.default(), ) -- cgit