Files
kotlin-fork/compiler/testData/ir/irText/firProblems/lambdaInEnumEntryConstructorCall.kt
T
2024-02-16 10:19:38 +00:00

16 lines
340 B
Kotlin
Vendored

// FIR_IDENTICAL
// WITH_STDLIB
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) {}
}