~~hoho
diff --git a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ResolveUtils.kt b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ResolveUtils.kt
index a5ea6ae..7df42ec 100644
--- a/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ResolveUtils.kt
+++ b/compiler/fir/resolve/src/org/jetbrains/kotlin/fir/resolve/ResolveUtils.kt
@@ -444,25 +444,7 @@
}
}
is FirSuperReference -> {
- val labelName = calleeReference.labelName
- val implicitReceiver =
- if (labelName != null) {
- implicitReceiverStack[labelName].singleOrDiagnosticFor(labelName) { diagnostic ->
- return buildErrorTypeRef {
- source = calleeReference.source
- this.diagnostic = diagnostic
- }
- } as? ImplicitDispatchReceiverValue
- } else {
- implicitReceiverStack.lastDispatchReceiver()
- }
- val resolvedTypeRef =
- calleeReference.superTypeRef as? FirResolvedTypeRef
- ?: implicitReceiver?.boundSymbol?.fir?.superTypeRefs?.singleOrNull() as? FirResolvedTypeRef
- resolvedTypeRef ?: buildErrorTypeRef {
- source = calleeReference.source
- diagnostic = ConeUnresolvedNameError(Name.identifier("super"))
- }
+ error("HOHO")
}
else -> errorWithAttachment("Failed to extract type from: ${calleeReference::class.simpleName}") {
withFirEntry("reference", calleeReference)