[FIR2IR] Fix NSEE in case of lambda in enum entry constructor call, ^KT-50774 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
a65b278f71
commit
4a200a2d7e
@@ -0,0 +1,14 @@
|
||||
// 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) {}
|
||||
}
|
||||
Reference in New Issue
Block a user