igscript.main.kts 运行出错
shimamura-sakura opened this issue · 1 comments
shimamura-sakura commented
$ java -version
openjdk version "21" 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
$ kotlin -version
Kotlin version 1.9.21-release-633 (JRE 21+35)
$ kotlin igscript.main.kts input output
igscript.main.kts:198:21: error: expecting an element
stringNames = "textLength" to "text"
^
igscript.main.kts:198:22: error: expecting ','
stringNames = "textLength" to "text"
^
igscript.main.kts:198:9: error: unresolved reference: stringNames
stringNames = "textLength" to "text"
^
igscript.main.kts:198:23: error: type mismatch: inferred type is Pair<String, String> but Igscript_main.ParameterDescriptor<*> was expected
stringNames = "textLength" to "text"
^
zhanghai commented
噗,漏了逗号,修好了。