17 lines
388 B
Kotlin
Vendored
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) {}
|
|
}
|