[FE 1.0] 2/2 Drop AllowDifferentMembersInActual from compiler and testData
The annotation was dropped in the previous commit
This commit is contained in:
-6
@@ -88,8 +88,6 @@ private fun checkExpectActualScopeDiff(
|
||||
}
|
||||
}
|
||||
|
||||
private val allowDifferentMembersInActualFqn = FqName("kotlin.AllowDifferentMembersInActual")
|
||||
|
||||
@OptIn(ExperimentalContracts::class)
|
||||
internal fun matchActualWithNonFinalExpect(
|
||||
declaration: KtDeclaration,
|
||||
@@ -114,10 +112,6 @@ internal fun matchActualWithNonFinalExpect(
|
||||
|
||||
if (!descriptor.isActual) return null
|
||||
|
||||
with(OptInUsageChecker) {
|
||||
if (declaration.isDeclarationAnnotatedWith(allowDifferentMembersInActualFqn, context.trace.bindingContext)) return null
|
||||
}
|
||||
|
||||
val actual = when (descriptor) {
|
||||
is ClassDescriptor -> descriptor
|
||||
is TypeAliasDescriptor -> descriptor.classDescriptor
|
||||
|
||||
Reference in New Issue
Block a user