[FE] Move @PrivateForInline optIn into :core:compiler.common

This is needed to be able to use it in backend modules too
This commit is contained in:
Dmitriy Novozhilov
2023-07-12 11:37:03 +03:00
committed by Space Team
parent 49a1dfa20e
commit 73b580572b
35 changed files with 52 additions and 36 deletions
@@ -36,9 +36,3 @@ annotation class PrivateSessionConstructor
@RequiresOptIn
annotation class SessionConfiguration
/**
* [PrivateForInline] used for cases when there is a var property with mutable set and corresponding
* inline function which mutates this var
*/
@RequiresOptIn
annotation class PrivateForInline
@@ -5,7 +5,7 @@
package org.jetbrains.kotlin.fir.caches
import org.jetbrains.kotlin.fir.PrivateForInline
import org.jetbrains.kotlin.util.PrivateForInline
/**
* [Map] which allows store null values
@@ -5,7 +5,7 @@
package org.jetbrains.kotlin.fir.resolve
import org.jetbrains.kotlin.fir.PrivateForInline
import org.jetbrains.kotlin.util.PrivateForInline
class ScopeSession {
private val scopes = hashMapOf<Any, HashMap<ScopeSessionKey<*, *>, Any>>()