aboutsummaryrefslogtreecommitdiff
path: root/kvision-tools/kvision-compiler-plugin/src
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2020-04-19 23:50:29 +0200
committerRobert Jaros <rjaros@finn.pl>2020-04-19 23:50:29 +0200
commit62fcedceab457c06aac75caf873d4095200db3f8 (patch)
treeb1f6e9c5fc16cfc8321f0ab1823d033ffefafdd9 /kvision-tools/kvision-compiler-plugin/src
parent8741f76d8002aec9e512504b817f7381721aa33f (diff)
downloadkvision-62fcedceab457c06aac75caf873d4095200db3f8.tar.gz
kvision-62fcedceab457c06aac75caf873d4095200db3f8.tar.bz2
kvision-62fcedceab457c06aac75caf873d4095200db3f8.zip
Small fix for old type inference issue with generated code
Diffstat (limited to 'kvision-tools/kvision-compiler-plugin/src')
-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)")
}