KT-5308 Wrong ExplicitReceiverKind when access to IntRange.EMPTY

#KT-5308 Fixed
This commit is contained in:
Svetlana Isakova
2014-07-18 23:14:33 +04:00
parent 8289f13016
commit 6c63492355
8 changed files with 101 additions and 2 deletions
@@ -0,0 +1,18 @@
class Foo {
class object {
val baz = Foo()
}
}
fun test() {
Foo.<caret>baz
}
Resolved call:
Resulting descriptor: val baz: Foo
Explicit receiver kind = THIS_OBJECT
This object = Foo {<class-object-for-Foo>}
Receiver argument = NO_RECEIVER