Fix implementation doesn't match name of property

Currently, property `hasSourceAnnotationsErased` returns the opposite
to what is stated in name. Invert it both in implementation and on
call site.

^KT-58551
This commit is contained in:
Roman Efremov
2023-08-03 16:41:41 +02:00
committed by Space Team
parent a1a1049aa8
commit 05cead2ab5
4 changed files with 6 additions and 6 deletions
@@ -47,7 +47,7 @@ object AbstractExpectActualAnnotationMatchChecker {
// 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 skipSourceAnnotations = actualSymbol.hasSourceAnnotationsErased
val actualAnnotationsByName = actualSymbol.annotations.groupBy { it.classId }
for (expectAnnotation in expectSymbol.annotations) {