[minor] updating fir testdata

This commit is contained in:
Ilya Chernikov
2019-12-19 16:28:45 +01:00
parent 75c94f3b0f
commit ae0efa77e3
@@ -20,3 +20,18 @@ fun buildB() {
B.Builder().<!UNRESOLVED_REFERENCE!>a2<!>()
B.Builder().<!UNRESOLVED_REFERENCE!>a3<!>()
}
// additional example from #KT-34820
class R
class P
typealias F = R.(P) -> Unit
fun guess(): F? = TODO()
fun consume(f: F) {}
fun problem() {
val p = guess()
consume(p ?: {})
}