From 66824435b5454e22266b6a6d5bfcbbc7cad4db25 Mon Sep 17 00:00:00 2001 From: Roman Efremov Date: Fri, 23 Jun 2023 14:52:58 +0200 Subject: [PATCH] [FE] Add TODOs for changes for next PR within scope of this issue ^KT-58551 --- .../calls/mpp/AbstractExpectActualAnnotationMatchChecker.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/mpp/AbstractExpectActualAnnotationMatchChecker.kt b/compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/mpp/AbstractExpectActualAnnotationMatchChecker.kt index 470194268e1..b124971bd3f 100644 --- a/compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/mpp/AbstractExpectActualAnnotationMatchChecker.kt +++ b/compiler/resolution.common/src/org/jetbrains/kotlin/resolve/calls/mpp/AbstractExpectActualAnnotationMatchChecker.kt @@ -27,6 +27,10 @@ object AbstractExpectActualAnnotationMatchChecker { val expanded = actualSymbol.expandToRegularClass() ?: return null return areAnnotationsCompatible(expectSymbol, expanded) } + // TODO(Roman.Efremov, KT-58551): properly handle repeatable annotations + // TODO(Roman.Efremov, KT-58551): check other annotation targets (constructors, types, value parameters, etc) + // TODO(Roman.Efremov, KT-58551): fix actual typealias class members not checked in FE checkers + // TODO(Roman.Efremov, KT-58551): check annotations on fake overrides in case of implicit actualization val skipSourceAnnotations = !actualSymbol.hasSourceAnnotationsErased val actualAnnotationsByName = actualSymbol.annotations.groupBy { it.classId }