Report 'nested class accessed via instance reference' error

This commit is contained in:
Svetlana Isakova
2014-08-01 14:02:27 +04:00
parent d150a26f8a
commit 7f33ad90a6
28 changed files with 224 additions and 41 deletions
@@ -6,7 +6,7 @@ class A {
}
fun A.main() {
::<!UNRESOLVED_REFERENCE!>Nested<!>
::<!NESTED_CLASS_ACCESSED_VIA_INSTANCE_REFERENCE!>Nested<!>
val y = A::Nested
y : KFunction0<A.Nested>