[FIR PSI] Set source of error reference

#KT-55835
This commit is contained in:
Kirill Rakhman
2023-06-28 14:50:42 +03:00
committed by Space Team
parent 070b694247
commit 9e9b92fd16
@@ -2718,7 +2718,10 @@ open class PsiRawFirBuilder(
null -> {
CalleeAndReceiver(
buildErrorNamedReference { diagnostic = ConeSyntaxDiagnostic("Call has no callee") }
buildErrorNamedReference {
source = defaultSource
diagnostic = ConeSyntaxDiagnostic("Call has no callee")
}
)
}