Fixed: control flow graph building for array of functions.

'get' call for array should be get from INDEXED_LVALUE_GET
This commit is contained in:
Svetlana Isakova
2013-12-06 15:57:56 +04:00
parent 3966f36b0c
commit 4c4e192914
4 changed files with 35 additions and 2 deletions
@@ -52,6 +52,11 @@ public class ControlFlowTestGenerated extends AbstractControlFlowTest {
doTest("compiler/testData/cfg/arrayAccessExpression.kt");
}
@TestMetadata("ArrayOfFunctions.kt")
public void testArrayOfFunctions() throws Exception {
doTest("compiler/testData/cfg/ArrayOfFunctions.kt");
}
@TestMetadata("arraySet.kt")
public void testArraySet() throws Exception {
doTest("compiler/testData/cfg/arraySet.kt");