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,6 +1,5 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// !LANGUAGE: +InlineClasses
// IGNORE_BACKEND: JS, JS_IR, NATIVE
// IGNORE_BACKEND: JS_IR_ES6
// WITH_RUNTIME
@@ -9,7 +8,8 @@ class CharacterLiteral(private val prefix: NamelessString, private val s: Namele
override fun toString(): String = "$prefix'$s'"
}
inline class NamelessString(val b: ByteArray) {
@JvmInline
value class NamelessString(val b: ByteArray) {
override fun toString(): String = String(b)
}