Maybe someone knows before I file a ticket. I have...
# compiler
r
Maybe someone knows before I file a ticket. I have a compiler plugin that currently supports the IR and old backend. It uses
IrGenerationExtension
for the IR implementation and
ExpressionCodegenExtension
. When KAPT is enabled in the stub generating task I see the
ExpressionCodegenExtension
being called rather than the IR implementation. Is the stub generating task not using the IR backend and still relies on the old backend? I’ve tested with
1.5.31
and
1.6.0-RC2
.
u
Yes, kapt unconditionally uses the old backend right now. We’re planning to address this before we remove the old backend. Removal of the old backend is targeted to 1.8.
r
Interesting. The problem is that it also uses language level 1.5. That’s a problem for repeated annotations, which are supported fully with 1.6. Or am I missing something?
u
Yes, this is a problem, thanks for noticing! Please report an issue and we’ll investigate.
r