Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
+2
-2
@@ -1,7 +1,7 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// WITH_RUNTIME
|
||||
|
||||
inline class Z(private val i: Int) {
|
||||
@JvmInline
|
||||
value class Z(private val i: Int) {
|
||||
fun toByteArray() = ByteArray(1) { i.toByte() }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user