[K/N, K/JS, K/WASM] Enable FakeOverrideRebuilder by default
While not beeing final solution, this is closer to what we want to have in the end. Enabling on non-JVM targets would help better testing. Enabling in JVM is now not possible yet, as some of the bugs are not fixed yet (check KT-61360 for details) ^KT-62476
This commit is contained in:
committed by
Space Team
parent
c6e32571d6
commit
f45d92eebc
+2
-1
@@ -5,6 +5,7 @@
|
||||
|
||||
package org.jetbrains.kotlin.test.frontend.fir
|
||||
|
||||
import org.jetbrains.kotlin.config.LanguageFeature
|
||||
import org.jetbrains.kotlin.platform.isCommon
|
||||
import org.jetbrains.kotlin.platform.isJs
|
||||
import org.jetbrains.kotlin.platform.jvm.isJvm
|
||||
@@ -17,7 +18,7 @@ import org.jetbrains.kotlin.test.model.TestModule
|
||||
import org.jetbrains.kotlin.test.services.TestServices
|
||||
|
||||
fun TestModule.shouldUseIrFakeOverrideBuilder(): Boolean {
|
||||
return CodegenTestDirectives.ENABLE_IR_FAKE_OVERRIDE_GENERATION in directives
|
||||
return !targetPlatform.isJvm() || CodegenTestDirectives.ENABLE_IR_FAKE_OVERRIDE_GENERATION in directives
|
||||
}
|
||||
|
||||
class Fir2IrResultsConverter(
|
||||
|
||||
Reference in New Issue
Block a user