mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-12 15:53:40 +00:00
- Enable empty vararg transformation for all IrFunctionAccessExpression - Fix empty vararg boxing - Refactor inline class boxing logic - Fix types of generated expressions
12 lines
184 B
Kotlin
Vendored
12 lines
184 B
Kotlin
Vendored
// IGNORE_BACKEND: JS
|
|
|
|
|
|
enum class Test(vararg xs: Int) {
|
|
OK {
|
|
fun foo() {}
|
|
};
|
|
val xs = xs
|
|
}
|
|
|
|
fun box(): String =
|
|
if (Test.OK.xs.size == 0) "OK" else "Fail" |