Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
+4
-3
@@ -1,9 +1,10 @@
|
||||
// !LANGUAGE: +InlineClasses
|
||||
// WITH_RUNTIME
|
||||
|
||||
inline class A(val a: Any)
|
||||
@JvmInline
|
||||
value class A(val a: Any)
|
||||
|
||||
inline class NA(val b: Any?)
|
||||
@JvmInline
|
||||
value class NA(val b: Any?)
|
||||
|
||||
fun box(): String {
|
||||
val ns1 = NA(A("abc"))
|
||||
|
||||
Reference in New Issue
Block a user