Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
@@ -1,4 +1,7 @@
|
||||
inline class R(val x: Any)
|
||||
// WITH_RUNTIME
|
||||
|
||||
@JvmInline
|
||||
value class R(val x: Any)
|
||||
|
||||
fun useR(r: R) {
|
||||
if (r.x as String != "OK") throw AssertionError("$r")
|
||||
|
||||
Reference in New Issue
Block a user