mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 00:21:26 +00:00
IR expects overridden symbols of "invoke" in KFunction to be "invoke" in the corresponding Function classes. Before this commit we don't set overriddenSymbol, now we do.
11 lines
157 B
Kotlin
Vendored
11 lines
157 B
Kotlin
Vendored
fun box(): String {
|
|
class A {
|
|
var result: String = "Fail";
|
|
init {
|
|
result = "OK"
|
|
}
|
|
}
|
|
|
|
return (::A)().result
|
|
}
|