aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-28 12:21:47 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-28 12:21:47 +0100
commit1f5c7503af2fdda10da99f9637046a7880e30b0f (patch)
tree45dc96dcd3b8d912fa7eb8a95beefe419e48bc0f /src/main/kotlin
parentdb633c02b9a9d6da8a95edaceba37aefc9f511d2 (diff)
downloadreproduction-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.kt5
-rw-r--r--src/main/kotlin/moe/nea/firm/EnumRenderer.kt7
-rw-r--r--src/main/kotlin/moe/nea/firm/ManagedConfig.kt10
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(