IR: avoid name clashes between raised local functions.

This commit is contained in:
Georgy Bronnikov
2020-01-16 17:50:57 +03:00
parent 4e0b54e1a6
commit 1c527fc159
8 changed files with 49 additions and 2 deletions
@@ -12206,6 +12206,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/functions/localFunctions/localFunctionVsLocalVariable.kt");
}
@TestMetadata("nameClash.kt")
public void testNameClash() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/nameClash.kt");
}
@TestMetadata("overloadedLocalFunWithoutClosure.kt")
public void testOverloadedLocalFunWithoutClosure() throws Exception {
runTest("compiler/testData/codegen/box/functions/localFunctions/overloadedLocalFunWithoutClosure.kt");