a269e9bc00
This however makes testLocalFunctionName fail because currently isSubclassOf (incorrectly) returns false and therefore an anonymous class is generated and the name is taken from there. The name there is "box$OK" which is incorrect. The isSubclassOf issue is KT-28198 and will be fixed separately; the incorrect name issue will be investigated later
8 lines
94 B
Kotlin
Vendored
8 lines
94 B
Kotlin
Vendored
// IGNORE_BACKEND: JVM_IR, JS_IR
|
|
|
|
fun box(): String {
|
|
fun OK() {}
|
|
|
|
return ::OK.name
|
|
}
|