Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
@@ -1,6 +1,8 @@
|
||||
// WITH_RUNTIME
|
||||
// FILE: 1.kt
|
||||
|
||||
inline class A(val x: String)
|
||||
@JvmInline
|
||||
value class A(val x: String)
|
||||
|
||||
fun accessProperty(y: B): A {
|
||||
y.a = A("OK")
|
||||
|
||||
Reference in New Issue
Block a user