https://kotlinlang.org logo
#getting-started
Title
# getting-started
j

juh juh

08/11/2022, 8:03 PM
Does anybody know how to make "Show kotlin bytecode" in Itnellij IDEA work with kotlin multiplatform? For me, it just displays an error, while working fine for non-kotlin multiplatform projects
k

Klitos Kyriacou

08/11/2022, 8:27 PM
What do you expect it to do for non-JVM targets?
m

mkrussel

08/11/2022, 8:51 PM
I think the problem is that it doesn’t work for common source sets. I would expect if JVM was one of the targets then the code in the common source set could be compiled to byte code and the “Show Kotlin bytecode” button would work.
j

juh juh

08/11/2022, 8:55 PM
YEah, it doesn't work even for the simplest case when I only have "common" code, and nothing platform-specific
t

tseisel

08/12/2022, 9:05 AM
Would be great if this tool could also display compiled JS code for KotlinJS
6 Views