Don't allow to use own nested classes when resolve header of (companion) object
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class Test {
|
||||
@ClassObjectAnnotation
|
||||
<!UNRESOLVED_REFERENCE!>@ClassObjectAnnotation<!>
|
||||
@NestedAnnotation
|
||||
companion object {
|
||||
annotation class ClassObjectAnnotation
|
||||
}
|
||||
|
||||
annotation class NestedAnnotation
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@ public final class Test {
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
@Test.Companion.ClassObjectAnnotation() @Test.NestedAnnotation() public companion object Companion {
|
||||
@[ERROR : ClassObjectAnnotation]() @Test.NestedAnnotation() public companion object Companion {
|
||||
private constructor Companion()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user