Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
+3
-1
@@ -1,7 +1,9 @@
|
||||
// MODULE: lib
|
||||
// WITH_RUNTIME
|
||||
// FILE: lib.kt
|
||||
|
||||
inline class Z private constructor(private val value: Any?) {
|
||||
@JvmInline
|
||||
value class Z private constructor(private val value: Any?) {
|
||||
fun result(): String = value as String
|
||||
|
||||
companion object {
|
||||
|
||||
Reference in New Issue
Block a user