Fix @JvmInline value class tests for JS BE

This commit is contained in:
Ilmir Usmanov
2021-10-11 08:37:11 +02:00
committed by TeamCityServer
parent 1da46586bd
commit 5a47eaf215
381 changed files with 1168 additions and 584 deletions
@@ -6,7 +6,8 @@
@file:Suppress("SECONDARY_CONSTRUCTOR_WITH_BODY_INSIDE_INLINE_CLASS")
@JvmInline
@Suppress("OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE")
@kotlin.jvm.JvmInline
value class Foo(val x: String) {
constructor(y: Int) : this("OK") {
if (y == 0) return throw java.lang.IllegalArgumentException()