Hi, I have a question about the compiler that I po...
# compiler
t
Hi, I have a question about the compiler that I posted to discuss.kotlin but got not answer so far. Does anyone here maybe know more about it?
Hello everyone,
we want to use a custom compiler plugin in our company and have to opt in to
ExperimentalCompilerApi
. The plugin itself is not very complex, so if we need to adjust it later on that would no problem. However, if support for plugins were to be completely dropped, that would be problematic as we intend to build a lot of stuff upon this plugin. Specifially, we are building an
IrGenerationExtension
that replaces some string templates calls with method calls. Can you say anything about how likely it is that we will be able to do this in the future? Thanks a lot!
d
Chances that the
IrGenerationExtension
will be dropped completely are close to zero, as some essential parts of the ecosystem depend on it (compose and kotlinx.serialization). However, chances that you'll need to adjust the plugin to the incompatible changes in the compiler with each release are quite high
t
Thanks a lot! That's fine for me as the plugin is very small.