[LL FIR] LLFirReturnTypeCalculatorWithJump: use declaration-site ScopeSession

We should use the declaration-site session to have stable
resolution order. The same scheme is applicable during
regular lazy resolution calls

^KT-63547
This commit is contained in:
Dmitrii Gridin
2023-12-19 18:13:03 +01:00
committed by Space Team
parent e3841a1728
commit 1538c125c3
3 changed files with 27 additions and 22 deletions
@@ -1,4 +1 @@
Diagnostics from elements:
for PSI element of type KtCallExpression at (26,5-36)
ARGUMENT_TYPE_MISMATCH text ranges: [(127,158)]
PSI: KtCallExpression at (26,5-36)