blob: c23afaefc85500b5e6559a19903b2b48bd3f9639 [file]
fun <T> materialize(): T = throw Exception()
interface A
fun takeA(a: A) {}
fun test() {
takeA(
try {
materialize()
} catch (e: Exception) {
materialize()
} finally {
<!CANNOT_INFER_PARAMETER_TYPE, NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>materialize<!>() // Should be an errror
}
)
}