MrPowerGamerBR
09/11/2025, 7:23 PM@JsName on properties declared on a @JsPlainObject? I wanted to change some snake_case variables into camelCase, to make it look "better" in Kotlin
I tried searching for it, but the only result of someone trying to do this was this conversation: https://kotlinlang.slack.com/archives/C0B8L3U69/p1728428182216839
However after testing it, it doesn't seem to work on Kotlin 2.2.0 😞turansky
09/11/2025, 7:33 PMturansky
09/11/2025, 7:33 PMMrPowerGamerBR
09/11/2025, 8:15 PMMrPowerGamerBR
09/11/2025, 8:17 PM-XXLanguage:+JsAllowInvalidCharsIdentifiersEscaping, it seems that the real issue is just that @JsPlainObject does not respect @JsName
However the issue was closed due to inactivity because it seems a repro project was never submitted @turanskyMrPowerGamerBR
09/11/2025, 8:30 PM-XXLanguage:+JsAllowInvalidCharsIdentifiersEscaping when, in reality, it happens no matter if you use it or not.
However if creating a new issue would be a better idea, please let me know. :)turansky
09/11/2025, 9:02 PMMrPowerGamerBR
09/11/2025, 10:24 PMIrValueParameter have a empty list for the annotations field)
And because I have never created a K2 plugin before, I'm way out of my depth for this, but I hope that this can be fixed soon :)turansky
09/12/2025, 2:18 AMMrPowerGamerBR
09/16/2025, 2:57 PM