[Tests] Remove unnecessary usages of OPTIONAL_JVM_INLINE_ANNOTATION
Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com> #KT-1179
This commit is contained in:
committed by
Space Team
parent
50310d42e3
commit
fa4a4e56f3
@@ -1,5 +1,4 @@
|
||||
// WITH_STDLIB
|
||||
// WORKS_WHEN_VALUE_CLASS
|
||||
// LANGUAGE: +ValueClasses, +CustomEqualsInValueClasses
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// CHECK_BYTECODE_LISTING
|
||||
@@ -10,7 +9,7 @@ interface I {
|
||||
fun equals(param: MFVC): Boolean
|
||||
}
|
||||
|
||||
OPTIONAL_JVM_INLINE_ANNOTATION
|
||||
@JvmInline
|
||||
value class MFVC(val value: Int, val y: Int) : I {
|
||||
override fun equals(param: MFVC): Boolean {
|
||||
return abs(value - param.value) < 2
|
||||
|
||||
Reference in New Issue
Block a user