d13e60aaec
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
10 lines
176 B
Kotlin
Vendored
10 lines
176 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
// ISSUE: KT-59233
|
|
|
|
fun <T> consume(arg: T) {}
|
|
|
|
fun box(): String {
|
|
val foo = ::<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>consume<!>
|
|
return "OK"
|
|
}
|