FIR: support more precise diagnostics about parameter names
#KT-52762 Fixed
This commit is contained in:
+6
@@ -70,6 +70,12 @@ class NameNotFound(
|
||||
val function: FirFunction
|
||||
) : ResolutionDiagnostic(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR)
|
||||
|
||||
class NameForAmbiguousParameter(
|
||||
val argument: FirNamedArgumentExpression,
|
||||
val matchedParameter: FirValueParameter,
|
||||
val anotherParameter: FirValueParameter
|
||||
) : ResolutionDiagnostic(INAPPLICABLE_ARGUMENTS_MAPPING_ERROR)
|
||||
|
||||
object InapplicableCandidate : ResolutionDiagnostic(INAPPLICABLE)
|
||||
|
||||
object HiddenCandidate : ResolutionDiagnostic(HIDDEN)
|
||||
|
||||
Reference in New Issue
Block a user