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