diff options
author | Linnea Gräf <nea@nea.moe> | 2024-11-28 12:21:47 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-11-28 12:21:47 +0100 |
commit | 1f5c7503af2fdda10da99f9637046a7880e30b0f (patch) | |
tree | 45dc96dcd3b8d912fa7eb8a95beefe419e48bc0f /src/main/kotlin | |
parent | db633c02b9a9d6da8a95edaceba37aefc9f511d2 (diff) | |
download | reproduction-infinite-compile-1f5c7503af2fdda10da99f9637046a7880e30b0f.tar.gz reproduction-infinite-compile-1f5c7503af2fdda10da99f9637046a7880e30b0f.tar.bz2 reproduction-infinite-compile-1f5c7503af2fdda10da99f9637046a7880e30b0f.zip |
Move files together
Diffstat (limited to 'src/main/kotlin')
-rw-r--r-- | src/main/kotlin/moe/nea/firm/Codec.kt | 5 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firm/EnumRenderer.kt | 7 | ||||
-rw-r--r-- | src/main/kotlin/moe/nea/firm/ManagedConfig.kt | 10 |
3 files changed, 9 insertions, 13 deletions
diff --git a/src/main/kotlin/moe/nea/firm/Codec.kt b/src/main/kotlin/moe/nea/firm/Codec.kt deleted file mode 100644 index 1c19de4..0000000 --- a/src/main/kotlin/moe/nea/firm/Codec.kt +++ /dev/null @@ -1,5 +0,0 @@ -package moe.nea.firm - -interface Codec<T> { - -} diff --git a/src/main/kotlin/moe/nea/firm/EnumRenderer.kt b/src/main/kotlin/moe/nea/firm/EnumRenderer.kt deleted file mode 100644 index 03f5f95..0000000 --- a/src/main/kotlin/moe/nea/firm/EnumRenderer.kt +++ /dev/null @@ -1,7 +0,0 @@ -package moe.nea.firm - -interface EnumRenderer<E: Any> { - companion object { - fun <E: Enum<E>> default() = object: EnumRenderer<E> {} - } -}
\ No newline at end of file diff --git a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt index 741d6aa..0bf0e84 100644 --- a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt +++ b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt @@ -1,8 +1,16 @@ package moe.nea.firm import ext.StringIdentifiable -import kotlin.enums.enumEntries +interface EnumRenderer<E: Any> { + companion object { + fun <E: Enum<E>> default() = object: EnumRenderer<E> {} + } +} + +interface Codec<T> { + +} abstract class ManagedConfig { protected fun <E : Any> choice( |