63a909dee6
Anonymous object constructor parameters should not reuse JsName's of the super class. Otherwise the temporary name renamer gets confused.
11 lines
156 B
Kotlin
Vendored
11 lines
156 B
Kotlin
Vendored
// EXPECTED_REACHABLE_NODES: 1315
|
|
|
|
fun foo() = "OK"
|
|
|
|
open class A(val foo: Boolean = true) {
|
|
val ok = foo()
|
|
}
|
|
|
|
val q = object : A() {}
|
|
|
|
fun box() = q.ok |