From e34b2d1850661340e3b0c13ee968459b1b161e83 Mon Sep 17 00:00:00 2001 From: Victor Petukhov Date: Mon, 4 Oct 2021 19:43:05 +0300 Subject: [PATCH] Have common `KotlinCallArgument` for `CompatibilityWarningOnArgument` --- .../kotlin/resolve/calls/model/KotlinCallDiagnostics.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/model/KotlinCallDiagnostics.kt b/compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/model/KotlinCallDiagnostics.kt index b83d2209568..aba89485e18 100644 --- a/compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/model/KotlinCallDiagnostics.kt +++ b/compiler/resolution/src/org/jetbrains/kotlin/resolve/calls/model/KotlinCallDiagnostics.kt @@ -264,7 +264,7 @@ class CompatibilityWarning(val candidate: CallableDescriptor) : KotlinCallDiagno } class CompatibilityWarningOnArgument( - val argument: CallableReferenceKotlinCallArgument, + val argument: KotlinCallArgument, val candidate: CallableDescriptor ) : KotlinCallDiagnostic(RESOLVED) { override fun report(reporter: DiagnosticReporter) {