[FIR] Implement FUNCTION_EXPECTED
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ fun test4() {
|
||||
// should be an error on receiver, shouldn't be thrown away
|
||||
|
||||
fun test5() {
|
||||
1.(<!UNRESOLVED_REFERENCE!>fun String.()=1<!>)()
|
||||
1.(<!FUNCTION_EXPECTED!>fun String.()=1<!>)()
|
||||
}
|
||||
|
||||
fun <R: Any> R?.sure() : R = this!!
|
||||
|
||||
Reference in New Issue
Block a user