FE: don't lose annotations on Java primitive arrays
but only use them to enhance for warnings for now. ^KT-48861 Fixed
This commit is contained in:
+2
-2
@@ -529,8 +529,8 @@ private class EnhancementSignatureParts(
|
||||
override val typeSystem: TypeSystemContext
|
||||
get() = session.typeContext
|
||||
|
||||
override val FirAnnotation.forceWarning: Boolean
|
||||
get() = false // TODO: force warnings on IDEA external annotations
|
||||
override fun FirAnnotation.forceWarning(unenhancedType: KotlinTypeMarker?): Boolean =
|
||||
false // TODO: force warnings on IDEA external annotations
|
||||
|
||||
override val KotlinTypeMarker.annotations: Iterable<FirAnnotation>
|
||||
get() = (this as ConeKotlinType).attributes.customAnnotations
|
||||
|
||||
Reference in New Issue
Block a user