FIR: Avoid missing errors during delegation resolution
Merge inference errors from delegation partially resolved calls to the main system
This commit is contained in:
committed by
TeamCityServer
parent
0aca3a3737
commit
43f3fe1ebe
+7
@@ -80,6 +80,13 @@ class FirDelegatedPropertyInferenceSession(
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
for ((_, candidate) in partiallyResolvedCalls) {
|
||||
for (error in commonSystem.errors) {
|
||||
candidate.system.addError(error)
|
||||
}
|
||||
}
|
||||
|
||||
resultingConstraintSystem = commonSystem
|
||||
return resolvedCalls
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user