at try.kotlinlang.org when I run Kotlin code and select JavaScript runtime - I am able to see JS sources in “Generated JavaScript code”. But if I select JVM runtime - I see empty tab “Generated classfiles”.
Just in case: I am running it in Chrome 58.0.3029.110 (64-bit) on OS X.
Any ideas why?
P.S. Please, let me know if it’s not a proper place for asking such questions.
The Kotlin compiler doesn’t generate Java source code. It’s possible to decompile Kotlin-generated bytecode to Java, and this sometimes works reasonably well and sometimes gives completely misleading results. Therefore, we have no plans to show any Java source code produced from Kotlin code in the Web demo.