Files
kotlin-fork/compiler/testData/ir/irText/firProblems/lambdaInEnumEntryConstructorCall.kt
T
2023-03-22 15:18:17 +00:00

17 lines
388 B
Kotlin
Vendored

// WITH_STDLIB
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// KT-50774
class Wrapper(var baseUrl: String)
enum class ConfigurationParameter {
BASE_URL(
{ value, nc ->
println("Base url updated from config parameters " + nc.baseUrl + " -> " + value)
nc.baseUrl = value
}
);
constructor(apply: (String, Wrapper) -> Unit) {}
}