korlibs / korge-starter-kit-rpg

https://korlibs.github.io/korge-starter-kit-rpg/
MIT License
14 stars 3 forks source link

Generated KR.kt contains illegal chars in identifier that are not allowed in Kotlin #11

Open scaventz opened 11 months ago

scaventz commented 11 months ago

error screenshot

image

step to reproduce

Create a project in Intellij IDEA with Korge plugin, choose template "RPG stater", and run it with gradlew runJs image

environment info

IntelliJ IDEA 2023.3 (Community Edition)
Build #IC-233.11799.241, built on December 2, 2023
Runtime version: 17.0.9+7-b1087.7 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 16384M
Cores: 12
Non-Bundled Plugins:
  Key Promoter X (2023.3.0)
  com.shuzijun.markdown-editor (2.0.5)
  idea.plugin.protoeditor (233.11799.172)
  Docker (233.11799.244)
  gherkin (233.11799.165)
  cucumber-java (233.11799.196)
  com.soywiz.korge.korge-intellij-plugin (4.0.4)
Kotlin: 233.11799.241-IJ
scaventz commented 11 months ago

There is a Kotlin issue relates to this, and maybe we should somehow change the name generation rule to work around it.