JS backend: fix recursive closure local function by inner function or lambda.
#KT-4257 fixed
This commit is contained in:
@@ -51,4 +51,21 @@ public final class ClosureTest extends SingleFileTranslationTest {
|
||||
public void testWrappedVariableInExtensionFun() throws Exception {
|
||||
fooBoxTest();
|
||||
}
|
||||
|
||||
public void testSimpleRecursion() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testClosureFunctionByInnerFunction() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
public void testClosureLocalFunctionByInnerFunction() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
|
||||
// TODO: fix
|
||||
public void igonre_testClosureLocalFunctionByInnerFunctionInConstrunctor() throws Exception {
|
||||
checkFooBoxIsOk();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user