Default kotlinc is still JVM 1.6? (well past end of life)

I got bitten by this where I suggested users compile and run 3 short .kt files. It broke. After much head-scratching, we finally figured out that it was using JDK 1.6 as the default. This is… really out of date, right? 1.6 is well past end of life. 1.7 is EOL June 2020

It would be nice if the default command line kotlinc was -jvm-target 1.8+, then all the internal keywords won’t break it.

1.8 will be the default since Kotlin 1.5:



1.6 target is probably from the fact that Kotlin was mostly used for Android development in the beginning, which for some versions of Android means you are stuck at 1.6