Rename inline class -> @JvmInline value class in stdlib and compiler

This commit is contained in:
Ilmir Usmanov
2021-02-18 15:01:15 +01:00
parent 62123d72e2
commit d67e4f0c48
27 changed files with 103 additions and 35 deletions
@@ -11,7 +11,8 @@ import org.jetbrains.kotlin.fir.PrivateForInline
* [Map] which allows store null values
*/
@OptIn(PrivateForInline::class)
internal inline class NullableMap<KEY, VALUE>(private val map: MutableMap<KEY, Any> = HashMap()) {
@JvmInline
internal value class NullableMap<KEY, VALUE>(private val map: MutableMap<KEY, Any> = HashMap()) {
/**
* Get value if it is present in map