diff --git a/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt b/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt index 3c420e152d6..ea1ed8d9356 100644 --- a/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt +++ b/compiler/testData/codegen/box/contracts/fieldReadInConstructor.kt @@ -2,6 +2,7 @@ // IGNORE_BACKEND: NATIVE // WITH_RUNTIME // KJS_WITH_FULL_RUNTIME +// IGNORE_BACKEND: JS_IR import kotlin.contracts.* diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldInitialization.fir.kt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldInitialization.fir.kt index 660fd70123b..ad7a24da406 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldInitialization.fir.kt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/fieldInitialization.fir.kt @@ -68,16 +68,16 @@ class Test1 { init { inlineMe { - a += "allowed" + a += "allowed" } crossinlineMe { - b += "not allowed" + b += "not allowed" } noinlineMe { - c += "not allowed" + c += "not allowed" } notinline { - d += "not allowed" + d += "not allowed" } } }