I have a compiler plugin where I’m subscribing to ...
# compiler
r
I have a compiler plugin where I’m subscribing to the
org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
. It does not seem like it’s calling me back so I’m guessing is not using the IR format. Is there a compiler flag or some kind of way to turn IR generation on?. Thanks!
Found it with
CompilerConfigurationExtensions
one can:
Copy code
configuration.put(<http://JVMConfigurationKeys.IR|JVMConfigurationKeys.IR>, true)