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
4 lines
69 B
Kotlin
4 lines
69 B
Kotlin
fun <T> foo() where class object T : Any {
|
|
T.<caret>toString()
|
|
}
|