FILE: metaAnnotationClashesWithSupertype.kt
    @R|org/jetbrains/kotlin/plugin/sandbox/AllOpen|() public open annotation class Open : R|kotlin/Annotation| {
        public constructor(): R|Open| {
            super<R|kotlin/Any|>()
        }

    }
    public final annotation class Ann : R|kotlin/Annotation| {
        public constructor(): R|Ann| {
            super<R|kotlin/Any|>()
        }

    }
    public open class Base : R|kotlin/Any| {
        public constructor(): R|Base| {
            super<R|kotlin/Any|>()
        }

        public final annotation class Open : R|kotlin/Annotation| {
            public constructor(): R|Base.Open| {
                super<R|kotlin/Any|>()
            }

        }

        public final annotation class Ann : R|kotlin/Annotation| {
            public constructor(): R|Base.Ann| {
                super<R|kotlin/Any|>()
            }

        }

    }
    public final class Derived : R|Base| {
        public constructor(): R|Derived| {
            super<R|Base|>()
        }

        @<ERROR TYPE REF:
            Annotation type resolved differently on compiler annotation and types stages:
              - compiler annotations: Open
              - types stage: Base.Open
        >() @R|Base.Ann|() public open class ShouldBeFinal : R|kotlin/Any| {
            public constructor(): R|Derived.ShouldBeFinal| {
                super<R|kotlin/Any|>()
            }

        }

    }
    public final class ShouldBeAnError : R|Derived.ShouldBeFinal| {
        public constructor(): R|ShouldBeAnError| {
            super<R|Derived.ShouldBeFinal|>()
        }

    }
