Files
kotlin-fork/compiler/testData/resolvedCalls/thisOrSuper/thisInExtensionFunction.txt
T
Alexander Udalov 3a8ad45dec Append newline to EOF for .txt test data files
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00

15 lines
268 B
Plaintext
Vendored

class A {
fun foo() {}
}
fun A.bar() = <caret>this.foo()
Resolved call:
Resulting descriptor: AExt{fun A.bar(): Unit defined in root package}::this
Explicit receiver kind = NO_EXPLICIT_RECEIVER
Dispatch receiver = NO_RECEIVER
Extension receiver = NO_RECEIVER