Are there any compiler flags I can check to influe...
# getting-started
d
Are there any compiler flags I can check to influence the Kotlin compiler to generate Java’s
sealed
for Kotlin’s `sealed`… when I decompile the code it doesn’t seem like that is what is happening by default?
r
I doubt it will work, but you could try setting the JVM target to 17 (https://kotlinlang.org/docs/compiler-reference.html#jvm-target-version).
gratitude thank you 1
d
Oh this is awesome… this is how I hope it worked but I didn’t know which flag or where to check so really appreciate both answers