aboutsummaryrefslogtreecommitdiff
path: root/kvision-tools/kvision-compiler-plugin
diff options
context:
space:
mode:
Diffstat (limited to 'kvision-tools/kvision-compiler-plugin')
-rw-r--r--kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt2
1 files changed, 1 insertions, 1 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 00208266..5d5cc514 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
@@ -126,7 +126,7 @@ class KVProcessor : AbstractProcessor() {
it.returnType.toString().startsWith("RemoteData") ->
appendln(" bindTabulatorRemote($iName::${it.name}, $route)")
wsMethod -> if (route == null) {
- appendln(" bind($iName::${it.name}, null as String)")
+ appendln(" bind($iName::${it.name}, null as String?)")
} else {
appendln(" bind($iName::${it.name}, $route)")
}