[IR] Introduce & use DescriptorBasedIr OptIn
This commit is contained in:
@@ -179,6 +179,7 @@ abstract class AbstractIrTextTestCase : AbstractIrGeneratorTestCase() {
|
||||
element.acceptChildrenVoid(this)
|
||||
}
|
||||
|
||||
@OptIn(DescriptorBasedIr::class)
|
||||
override fun visitDeclaration(declaration: IrDeclaration) {
|
||||
if (declaration is IrSymbolOwner) {
|
||||
declaration.symbol.checkBinding("decl", declaration)
|
||||
|
||||
Reference in New Issue
Block a user