[FIR] Prevent loosing errors for synthetic outer calls
The error occurs when completing the call for the outer synthetic call `ACCEPT_SPECIFIC_TYPE`. The error is saved into the CS of this outer candidate, which leads to its callable reference to be an error reference, but since such calls are not parts of the FIR tree, we never collect such errors. ^Fixed KT-59233
This commit is contained in:
committed by
Space Team
parent
79fce56c95
commit
d13e60aaec
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// ISSUE: KT-59233
|
||||
|
||||
fun <T> consume(arg: T) {}
|
||||
|
||||
Reference in New Issue
Block a user