[FIR] Fix missing receiver type if anonymous function without label
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user