Record reference to class object directly
not to containing class descriptor
This commit is contained in:
@@ -3,6 +3,7 @@ package foo
|
||||
fun test() {
|
||||
A.d
|
||||
A.<!INVISIBLE_MEMBER!>f<!>
|
||||
<!INVISIBLE_MEMBER!>CCC<!>
|
||||
<!INVISIBLE_MEMBER!>CCC<!>.<!INVISIBLE_MEMBER!>classObjectVar<!>
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package Jet86
|
||||
|
||||
~A~class A {
|
||||
class object {
|
||||
class A {
|
||||
class ~A~object {
|
||||
~A.x~val x = 1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ fun test() = <caret>A(1)
|
||||
|
||||
Resolved call:
|
||||
|
||||
Resulting descriptor: class A
|
||||
Resulting descriptor: class object
|
||||
|
||||
Explicit receiver kind = NO_EXPLICIT_RECEIVER
|
||||
This object = NO_RECEIVER
|
||||
|
||||
Reference in New Issue
Block a user