K1: Implement a checker that disallows to have different member scopes for expect open and its actual

^KT-22841 Fixed
Review: https://jetbrains.team/p/kt/reviews/11603/timeline

The commit also introduces `@AllowDifferentMembersInActual` annotation in
stdlib which allows to suppress the diagnostic
This commit is contained in:
Nikita Bobko
2023-07-11 18:00:53 +02:00
committed by Space Team
parent 797ca34a34
commit 25c082f02b
155 changed files with 3875 additions and 40 deletions
@@ -1,3 +1,6 @@
public abstract interface annotation class kotlin/AllowDifferentMembersInActual : java/lang/annotation/Annotation {
}
public abstract interface annotation class kotlin/BuilderInference : java/lang/annotation/Annotation {
}