c4b5577555
Now with nested classes the expression "A.something" makes sense even when A
doesn't have a class object ("something" could be a nested class)
Also "A" expression now gets a NamespaceType with the scope of all static
nested classes of A
#KT-1174 In Progress
14 lines
145 B
Plaintext
14 lines
145 B
Plaintext
package Jet86
|
|
|
|
~A~class A {
|
|
class object {
|
|
~A.x~val x = 1
|
|
}
|
|
}
|
|
|
|
~B~class B() {
|
|
~B.x~val x = 12
|
|
}
|
|
|
|
val a = `A`A.`A.x`x
|
|
val d = B().`B.x`x |