Fixed bug with property and function name clash.

Complete type inference dependent on function literals and expected type
for variable as function calls not for 'invoke' calls
This commit is contained in:
svtk
2013-11-25 18:50:58 +04:00
parent f939918d36
commit 95ca2d8f98
4 changed files with 49 additions and 3 deletions
@@ -1343,6 +1343,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/closures/closureInsideClosure/localFunInsideLocalFunDifferentSignatures.kt");
}
@TestMetadata("propertyAndFunctionNameClash.kt")
public void testPropertyAndFunctionNameClash() throws Exception {
doTest("compiler/testData/codegen/box/closures/closureInsideClosure/propertyAndFunctionNameClash.kt");
}
@TestMetadata("threeLevels.kt")
public void testThreeLevels() throws Exception {
doTest("compiler/testData/codegen/box/closures/closureInsideClosure/threeLevels.kt");