Change KaptFlag.USE_JVM_IR default value to true
According to the comment on `Kapt3GradleSubplugin.BooleanOption` and the
change in a7b1bade85.
#KT-53135
This commit is contained in:
committed by
Space Team
parent
574b9b76cd
commit
4b0d878873
+3
-2
@@ -6,6 +6,7 @@
|
||||
package org.jetbrains.kotlin.kapt3.test.integration
|
||||
|
||||
import org.jetbrains.kotlin.backend.common.extensions.IrGenerationExtension
|
||||
import org.jetbrains.kotlin.base.kapt3.KaptFlag
|
||||
import org.jetbrains.kotlin.kapt3.test.JvmCompilerWithKaptFacade
|
||||
import org.jetbrains.kotlin.kapt3.test.KaptContextBinaryArtifact
|
||||
import org.jetbrains.kotlin.kapt3.test.KaptEnvironmentConfigurator
|
||||
@@ -45,8 +46,8 @@ class AbstractKotlinKapt3IntegrationTestRunner(
|
||||
|
||||
defaultDirectives {
|
||||
+KaptTestDirectives.MAP_DIAGNOSTIC_LOCATIONS
|
||||
if (targetBackend.isIR) {
|
||||
+KaptTestDirectives.USE_JVM_IR
|
||||
if (!targetBackend.isIR) {
|
||||
KaptTestDirectives.DISABLED_FLAGS with KaptFlag.USE_JVM_IR
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user