From 62fcedceab457c06aac75caf873d4095200db3f8 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sun, 19 Apr 2020 23:50:29 +0200 Subject: Small fix for old type inference issue with generated code --- .../src/main/kotlin/pl/treksoft/kvision/plugin/KVProcessor.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-tools/kvision-compiler-plugin/src/main/kotlin/pl') 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)") } -- cgit