diff --git a/compiler/tests/org/jetbrains/kotlin/jvm/runtime/AbstractJvmRuntimeDescriptorLoaderTest.kt b/compiler/tests/org/jetbrains/kotlin/jvm/runtime/AbstractJvmRuntimeDescriptorLoaderTest.kt index 357c265ce93..08e69e7d34c 100644 --- a/compiler/tests/org/jetbrains/kotlin/jvm/runtime/AbstractJvmRuntimeDescriptorLoaderTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/jvm/runtime/AbstractJvmRuntimeDescriptorLoaderTest.kt @@ -197,7 +197,7 @@ public abstract class AbstractJvmRuntimeDescriptorLoaderTest : TestCaseWithTmpdi override fun accept(visitor: DeclarationDescriptorVisitor, data: D): R = visitor.visitPackageViewDescriptor(this, data) - override fun getContainingDeclaration() = throw UnsupportedOperationException() + override fun getContainingDeclaration() = null override fun getOriginal() = throw UnsupportedOperationException() override fun substitute(substitutor: TypeSubstitutor) = throw UnsupportedOperationException() override fun acceptVoid(visitor: DeclarationDescriptorVisitor?) = throw UnsupportedOperationException()