Fix for a problem where inner (or nested) classes were not analyzed in some situations

# KT-3124 Fixed
This commit is contained in:
Pavel V. Talanov
2013-01-09 17:23:43 +04:00
parent ad848f2ebc
commit 293b272a22
3 changed files with 38 additions and 2 deletions
@@ -0,0 +1,32 @@
// FILE: a/M.java
package a;
public class M {
public class Inner {
}
public static class Nested {
}
private class PrInner {
}
private static class PrNested {
}
}
// FILE: b.kt
package b
fun f() {
val <!UNUSED_VARIABLE!>c1<!>: a.M.Inner
val <!UNUSED_VARIABLE!>c2<!>: a.M.Nested
val <!UNUSED_VARIABLE!>c3<!>: a.M.<!INVISIBLE_REFERENCE!>PrInner<!>
val <!UNUSED_VARIABLE!>c4<!>: a.M.<!INVISIBLE_REFERENCE!>PrNested<!>
}