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 IC(val value: Any)
|
||||
@JvmInline
|
||||
value class IC(val value: Any)
|
||||
|
||||
fun <T> foo(a: Result<T>, ic: IC): Pair<T, Any> = bar(a, ic) { a, ic ->
|
||||
a.getOrThrow() to ic.value
|
||||
|
||||
Reference in New Issue
Block a user