[FIR] Report INNER_CLASS_CONSTRUCTOR_NO_RECEIVER on delegated constructor calls
#KT-59677 Fixed
This commit is contained in:
committed by
Space Team
parent
a13756cfe9
commit
72235b8527
+5
@@ -400,6 +400,11 @@ private fun mapInapplicableCandidateError(
|
||||
|
||||
is AmbiguousInterceptedSymbol -> FirErrors.PLUGIN_AMBIGUOUS_INTERCEPTED_SYMBOL.createOn(source, rootCause.pluginNames)
|
||||
|
||||
is MissingInnerClassConstructorReceiver -> FirErrors.INNER_CLASS_CONSTRUCTOR_NO_RECEIVER.createOn(
|
||||
source,
|
||||
rootCause.candidateSymbol
|
||||
)
|
||||
|
||||
else -> genericDiagnostic
|
||||
}
|
||||
}.distinct()
|
||||
|
||||
Reference in New Issue
Block a user