Regenerate inline class tests as 1 arg value classes

This commit is contained in:
Evgeniy.Zhelenskiy
2021-12-14 19:43:05 +03:00
committed by Space
parent 5ac4722be4
commit ec2e96f3e4
398 changed files with 9654 additions and 3771 deletions
@@ -1,4 +1,6 @@
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
// !JVM_DEFAULT_MODE: all-compatibility
// TARGET_BACKEND: JVM
@@ -10,7 +12,7 @@ interface Path {
fun Int.extension(s: String = "K") = "${this}extension$s"
}
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class RealPath(val x: Int) : Path
fun box(): String {
@@ -1,4 +1,6 @@
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
// !JVM_DEFAULT_MODE: all
// TARGET_BACKEND: JVM
@@ -10,7 +12,7 @@ interface Path {
fun Int.extension(s: String = "K") = "${this}extension$s"
}
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class RealPath(val x: Int) : Path
fun box(): String {
@@ -1,4 +1,6 @@
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
// !JVM_DEFAULT_MODE: compatibility
// TARGET_BACKEND: JVM
@@ -10,7 +12,7 @@ interface Path {
fun Int.extension(s: String = "K") = "${this}extension$s"
}
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class RealPath(val x: Int) : Path
fun box(): String {
@@ -1,4 +1,6 @@
// WITH_STDLIB
// WORKS_WHEN_VALUE_CLASS
// LANGUAGE: +ValueClasses
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: JVM
@@ -9,7 +11,7 @@ interface Path {
fun Int.extension(s: String = "K") = "${this}extension$s"
}
@JvmInline
OPTIONAL_JVM_INLINE_ANNOTATION
value class RealPath(val x: Int) : Path
fun box(): String {