tom
06/19/2018, 12:06 AMAlso note that the compiler flag -Xenable-jvm-default introduced in Kotlin 1.2.40 is no longer supported. Please use -Xjvm-default=enable instead.Where do I enter that flag in IntelliJ? We use
@JvmDefault
in our project. Since updating to 1.2.50 my build is failing. When I enter that flag in File → Project Structure, Project Settings→ Modules and then in Kotlin, my compile succeeds, but then running my app fails with the message
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Unrecognized option: -Xjvm-default=enable