From 88d159ec65b7582f36bf648792b3cf16195736f9 Mon Sep 17 00:00:00 2001 From: Alexander Udalov Date: Mon, 11 Mar 2024 10:45:29 +0100 Subject: [PATCH] IR: minor, update the comment about K2 kapt in IrGenerationExtension K2 kapt does use stub generation in the end after all, but using the analysis API instead of the IR backend. --- .../kotlin/backend/common/extensions/IrGenerationExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/extensions/IrGenerationExtension.kt b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/extensions/IrGenerationExtension.kt index 4125203b33a..1197bca4772 100644 --- a/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/extensions/IrGenerationExtension.kt +++ b/compiler/ir/backend.common/src/org/jetbrains/kotlin/backend/common/extensions/IrGenerationExtension.kt @@ -27,7 +27,7 @@ interface IrGenerationExtension : IrDeserializer.IrLinkerExtension { // effect on the .java stub, not the resulting .class files. Compilation to the .class files is done in a separate step after stub // generation. // - // K2 KAPT doesn't use stub generation, so this property has no effect on extensions applied when K2 is enabled. + // K2 KAPT doesn't use the IR backend for stub generation, so this property has no effect on extensions applied when K2 is enabled. @FirIncompatiblePluginAPI val shouldAlsoBeAppliedInKaptStubGenerationMode: Boolean get() = false }