Files
kotlin-fork/compiler/testData/ir/irText/firProblems/lambdaInEnumEntryConstructorCall.kt
T

14 lines
333 B
Kotlin
Vendored

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