[FIR] Implement FUNCTION_EXPECTED
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ FILE: threeReceivers.kt
|
||||
}
|
||||
|
||||
public final fun R|FooBar|.chk(buz: R|Buz|): R|kotlin/Unit| {
|
||||
R|<local>/buz|.<Unresolved name: foobar>#()
|
||||
R|<local>/buz|.<Expression 'foobar' of type 'Bar' cannot be invoked as a function>#()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,6 +17,6 @@ class Foo {
|
||||
// this@Foo is dispatch receiver of foobar
|
||||
// Foo/foobar is dispatch receiver of invoke
|
||||
// this@chk is extension receiver of invoke
|
||||
buz.<!UNRESOLVED_REFERENCE!>foobar<!>()
|
||||
buz.<!FUNCTION_EXPECTED!>foobar<!>()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user