[FIR] Implement FUNCTION_EXPECTED
This commit is contained in:
+2
-2
@@ -2,11 +2,11 @@ class A(val x: (String.() -> Unit)?)
|
||||
|
||||
fun test(a: A) {
|
||||
if (a.x != null) {
|
||||
"".(<!UNRESOLVED_REFERENCE!>a.x<!>)()
|
||||
"".(<!FUNCTION_EXPECTED!>a.x<!>)()
|
||||
a.x("") // todo
|
||||
(a.x)("")
|
||||
}
|
||||
"".(<!UNRESOLVED_REFERENCE!>a.x<!>)()
|
||||
"".(<!FUNCTION_EXPECTED!>a.x<!>)()
|
||||
a.<!UNSAFE_IMPLICIT_INVOKE_CALL!>x<!>("")
|
||||
<!UNSAFE_IMPLICIT_INVOKE_CALL!>(a.x)<!>("")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user