Replaced deprecated inline classes with JvmInline value classes in tests
This commit is contained in:
committed by
TeamCityServer
parent
b0aefd543a
commit
1da46586bd
+4
-1
@@ -1,4 +1,7 @@
|
||||
inline class IC private constructor(val i: Int) {
|
||||
// WITH_RUNTIME
|
||||
|
||||
@JvmInline
|
||||
value class IC private constructor(val i: Int) {
|
||||
@Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS")
|
||||
constructor() : this(0) {
|
||||
counter += 1
|
||||
|
||||
Reference in New Issue
Block a user