diff --git a/compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt b/compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt index 2445a010f56..1aa750923fe 100644 --- a/compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt +++ b/compiler/testData/codegen/box/properties/protectedJavaFieldInInline.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -ProhibitProtectedCallFromInline // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/statics/inlineCallsStaticMethod.kt b/compiler/testData/codegen/box/statics/inlineCallsStaticMethod.kt index 557432bdb2e..d49599766b2 100644 --- a/compiler/testData/codegen/box/statics/inlineCallsStaticMethod.kt +++ b/compiler/testData/codegen/box/statics/inlineCallsStaticMethod.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -ProhibitProtectedCallFromInline // IGNORE_BACKEND_FIR: JVM_IR // TARGET_BACKEND: JVM diff --git a/compiler/testData/codegen/box/statics/protectedStaticAndInline.kt b/compiler/testData/codegen/box/statics/protectedStaticAndInline.kt index efa04f27fb5..2f4812e9925 100644 --- a/compiler/testData/codegen/box/statics/protectedStaticAndInline.kt +++ b/compiler/testData/codegen/box/statics/protectedStaticAndInline.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -ProhibitProtectedCallFromInline // TARGET_BACKEND: JVM // FILE: First.java diff --git a/compiler/testData/codegen/boxInline/builders/builders.kt b/compiler/testData/codegen/boxInline/builders/builders.kt index 3d16cd72b4c..bec67f420a3 100644 --- a/compiler/testData/codegen/boxInline/builders/builders.kt +++ b/compiler/testData/codegen/boxInline/builders/builders.kt @@ -26,7 +26,7 @@ abstract class Tag(val name: String) : Element() { val children = ArrayList() val attributes = HashMap() - inline protected fun initTag(tag: T, init: T.() -> Unit): T { + inline fun initTag(tag: T, init: T.() -> Unit): T { tag.init() children.add(tag) return tag diff --git a/compiler/testData/codegen/boxInline/builders/buildersAndLambdaCapturing.kt b/compiler/testData/codegen/boxInline/builders/buildersAndLambdaCapturing.kt index e52fd9a3e72..eaf608e3da0 100644 --- a/compiler/testData/codegen/boxInline/builders/buildersAndLambdaCapturing.kt +++ b/compiler/testData/codegen/boxInline/builders/buildersAndLambdaCapturing.kt @@ -26,7 +26,7 @@ abstract class Tag(val name: String) : Element() { val children = ArrayList() val attributes = HashMap() - inline protected fun initTag(tag: T, init: T.() -> Unit): T { + inline fun initTag(tag: T, init: T.() -> Unit): T { tag.init() children.add(tag) return tag diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembers.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembers.kt index 21bcb3291ee..670bf418fe5 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembers.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembers.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -ProhibitProtectedCallFromInline // FILE: 1.kt package test diff --git a/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembersFromSuper.kt b/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembersFromSuper.kt index 93daa050549..ea00d60c0a3 100644 --- a/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembersFromSuper.kt +++ b/compiler/testData/codegen/boxInline/syntheticAccessors/protectedMembersFromSuper.kt @@ -1,3 +1,4 @@ +// !LANGUAGE: -ProhibitProtectedCallFromInline // FILE: 1.kt package test