Files
kotlin-fork/idea/testData/javaFacade/ea38770.kt
T
Alexander Udalov c4b5577555 Do not report NO_CLASS_OBJECT when namespacesAllowed=true
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
2013-01-16 23:11:50 +04:00

4 lines
69 B
Kotlin

fun <T> foo() where class object T : Any {
T.<caret>toString()
}