diff options
author | Robert Jaros <rjaros@finn.pl> | 2020-04-19 23:50:29 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2020-04-19 23:50:29 +0200 |
commit | 62fcedceab457c06aac75caf873d4095200db3f8 (patch) | |
tree | b1f6e9c5fc16cfc8321f0ab1823d033ffefafdd9 /kvision-tools | |
parent | 8741f76d8002aec9e512504b817f7381721aa33f (diff) | |
download | kvision-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')
-rw-r--r-- | kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt | 2 |
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)") } |