[FIR] Move check for _private-to-this_ visibility into checker

^KT-55446
^KT-65790 Fixed
This commit is contained in:
Dmitriy Novozhilov
2024-02-14 12:02:53 +02:00
committed by Space Team
parent 5fe1e0c1a5
commit c64575f4a2
18 changed files with 239 additions and 131 deletions
@@ -10,6 +10,7 @@ object Visibilities {
override fun mustCheckInImports(): Boolean = true
}
// K2 doesn't use this visibility, see KT-55446 for details
object PrivateToThis : Visibility("private_to_this", isPublicAPI = false) {
override val internalDisplayName: String
get() = "private/*private to this*/"