aboutsummaryrefslogtreecommitdiff
path: root/kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision')
-rw-r--r--kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt7
1 files changed, 0 insertions, 7 deletions
diff --git a/kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt b/kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt
index e09c9021..31ed4ffd 100644
--- a/kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt
+++ b/kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt
@@ -98,8 +98,6 @@ class KVProcessor : AbstractProcessor() {
when {
it.returnType.toString().startsWith("RemoteData") ->
appendln(" bindTabulatorRemote($iName::${it.name})")
- it.returnType.toString() == "List<RemoteOption>" ->
- appendln(" bindSelectRemote($iName::${it.name})")
else -> appendln(" bind($iName::${it.name})")
}
}
@@ -149,11 +147,6 @@ class KVProcessor : AbstractProcessor() {
params
)}) = ${it.returnType.toString()}()"
)
- it.returnType.toString() == "List<RemoteOption>" -> appendln(
- " override suspend fun $name(${getParameterList(
- params
- )}) = emptyList<RemoteOption>()"
- )
else -> appendln(
" override suspend fun $name(${getParameterList(params)}) = call($iName::$name, ${getParameterNames(
params