Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
Vendored
+4
-2
@@ -11,12 +11,14 @@ interface IFooBar {
|
||||
|
||||
interface IFooBar2 : IFooBar
|
||||
|
||||
inline class Test1(val k: String): IFooBar {
|
||||
@JvmInline
|
||||
value class Test1(val k: String): IFooBar {
|
||||
override val bar: String
|
||||
get() = k
|
||||
}
|
||||
|
||||
inline class Test2(val k: String): IFooBar2 {
|
||||
@JvmInline
|
||||
value class Test2(val k: String): IFooBar2 {
|
||||
override val bar: String
|
||||
get() = k
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user