Mangle bytecode method names according to declaration scope

This commit is contained in:
Astrash
2023-09-12 11:24:30 +10:00
parent 0a46e9050d
commit defb31e309
6 changed files with 49 additions and 17 deletions

View File

@@ -73,7 +73,10 @@ public class CodeGenTest {
}
fun concatThree(a: str, b: str, c: str): str {
return a + b + c;
fun concatTwo(a: str, b: str): str {
return a + b;
}
return concatTwo(a, b) + c;
}
fun retStr(): str {