IR: Restore method used by Anvil annotation processor
But make it hidden, so, the new method will be used instead #KT-62281
This commit is contained in:
committed by
Space Team
parent
2391f00b75
commit
32e43998a0
+5
@@ -1078,3 +1078,8 @@ class LocalDeclarationsLowering(
|
||||
|
||||
// Local inner classes capture anything through outer
|
||||
internal fun IrClass.isLocalNotInner(): Boolean = visibility == DescriptorVisibilities.LOCAL && !isInner
|
||||
|
||||
// FIXME: This is used by Anvil compiler plugin, remove after Anvil update
|
||||
@Deprecated("Moved to IR Utils", level = DeprecationLevel.HIDDEN)
|
||||
val IrDeclaration.parents: Sequence<IrDeclarationParent>
|
||||
get() = generateSequence(parent) { (it as? IrDeclaration)?.parent }
|
||||
|
||||
Reference in New Issue
Block a user