[FIR] Don't create delegating constructor call to kotlin.Annotation

This commit is contained in:
Dmitriy Novozhilov
2019-12-04 18:23:58 +03:00
parent 25720e20f4
commit a0d8e5bde7
6 changed files with 18 additions and 12 deletions
@@ -397,7 +397,10 @@ class DeclarationsConverter(
isNullable = false
)
)
modifiers.isAnnotation() && (classKind == ClassKind.ANNOTATION_CLASS) -> implicitAnnotationType
modifiers.isAnnotation() && (classKind == ClassKind.ANNOTATION_CLASS) -> {
superTypeRefs += implicitAnnotationType
implicitAnyType
}
else -> implicitAnyType
}