[FIR] Fix missing receiver type if anonymous function without label

This commit is contained in:
simon.ogorodnik
2020-04-07 23:43:42 +03:00
parent d2fd377605
commit f573719cc1
143 changed files with 249 additions and 766 deletions
@@ -1,13 +0,0 @@
// !CHECK_TYPE
fun test(vararg a: String) {
a checkType { <!UNRESOLVED_REFERENCE!>_<!><Array<out String>>() }
foo(a) checkType { <!UNRESOLVED_REFERENCE!>_<!><Array<out String>>() }
}
fun <T> test1(vararg t: T) {
t checkType { <!UNRESOLVED_REFERENCE!>_<!><Array<out T>>() }
}
fun <T> foo(a: Array<T>): Array<T> = a
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// !CHECK_TYPE
fun test(vararg a: String) {