FIR: preliminary refactoring of delegate resolve
This commit is contained in:
committed by
teamcity
parent
a19495cb26
commit
4d9e919f7e
+9
@@ -231,6 +231,15 @@ private fun mapInapplicableCandidateError(
|
||||
rootCause.isCastToNotNull
|
||||
)
|
||||
is DslScopeViolation -> FirErrors.DSL_SCOPE_VIOLATION.createOn(source, rootCause.calleeSymbol)
|
||||
is InferenceError -> {
|
||||
rootCause.constraintError.toDiagnostic(
|
||||
source,
|
||||
qualifiedAccessSource,
|
||||
session.typeContext,
|
||||
mutableSetOf(),
|
||||
diagnostic.candidate
|
||||
)
|
||||
}
|
||||
else -> genericDiagnostic
|
||||
}
|
||||
}.distinct()
|
||||
|
||||
Reference in New Issue
Block a user