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
@@ -1,19 +1,23 @@
// !LANGUAGE: +InlineClasses
// WITH_RUNTIME
class C {
inline class IC1(val s: String)
@JvmInline
value class IC1(val s: String)
companion object {
inline class IC2(val s: String)
@JvmInline
value class IC2(val s: String)
}
}
object O {
inline class IC3(val s: String)
@JvmInline
value class IC3(val s: String)
}
interface I {
inline class IC4(val s: String)
@JvmInline
value class IC4(val s: String)
}
fun box(): String {