JVM_IR: generate "safe" names for functions in init blocks

This commit is contained in:
Dmitry Petrov
2020-07-22 11:53:05 +03:00
parent bb8f857809
commit 1272162a7f
14 changed files with 209 additions and 6 deletions
@@ -0,0 +1,23 @@
class C() {
constructor(x: Int): this() {
fun test() {
fun test() {}
}
}
constructor(y: String): this() {
fun test() {
fun test() {}
}
}
fun test() {
fun test() {}
}
init {
fun test() {
fun test() {}
}
}
}