Added tests on resolved call for 'this'

This commit is contained in:
Svetlana Isakova
2014-07-01 14:10:51 +04:00
parent dd95439767
commit ae8757f6b8
8 changed files with 82 additions and 4 deletions
@@ -0,0 +1,12 @@
class A {
fun foo() {}
}
fun A.bar() = <caret>this.foo()
Resolved call:
Explicit receiver kind = NO_EXPLICIT_RECEIVER
This object = NO_RECEIVER
Receiver argument = NO_RECEIVER