Fix @JvmInline value class tests for JS BE
This commit is contained in:
committed by
TeamCityServer
parent
1da46586bd
commit
5a47eaf215
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user