Replaced deprecated inline classes with JvmInline value classes in tests

This commit is contained in:
zhelenskiy
2021-10-09 02:31:28 +03:00
committed by TeamCityServer
parent b0aefd543a
commit 1da46586bd
386 changed files with 1480 additions and 840 deletions
+2 -2
View File
@@ -1,4 +1,3 @@
// !LANGUAGE: +InlineClasses
// WITH_RUNTIME
import kotlin.reflect.KMutableProperty0
@@ -7,7 +6,8 @@ import kotlin.reflect.KProperty
operator fun <R> KMutableProperty0<R>.setValue(host: Any?, property: KProperty<*>, value: R) = set(value)
operator fun <R> KMutableProperty0<R>.getValue(host: Any?, property: KProperty<*>): R = get()
inline class Foo(val i: Int)
@JvmInline
value class Foo(val i: Int)
var f = Foo(4)