set explicit receiver kind properly for calls
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// !CALL: foo
|
||||
// !EXPLICIT_RECEIVER_KIND: THIS_OBJECT
|
||||
// !THIS_OBJECT: a
|
||||
// !RECEIVER_ARGUMENT: NO_RECEIVER
|
||||
|
||||
class A {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
fun bar(a: A) {
|
||||
a.foo()
|
||||
}
|
||||
Reference in New Issue
Block a user