[FIR] Fix missing receiver type if anonymous function without label
This commit is contained in:
@@ -4,8 +4,8 @@ fun foo(s : String?, b : Boolean) {
|
||||
if (s == null) return
|
||||
|
||||
val s1 = if (b) "" else s
|
||||
s1 checkType { <!UNRESOLVED_REFERENCE!>_<!><String>() }
|
||||
s1 checkType { _<String>() }
|
||||
|
||||
val s2 = s
|
||||
s2 checkType { <!UNRESOLVED_REFERENCE!>_<!><String>() }
|
||||
s2 checkType { _<String>() }
|
||||
}
|
||||
Reference in New Issue
Block a user