Fixes for cases where unexpected declaration descriptor hierarchy caused invalid scoping structure in js backend.
Minor refactorings.
This commit is contained in:
@@ -93,7 +93,23 @@ public final class MiscTest extends AbstractExpressionTest {
|
||||
checkFooBoxIsTrue("funInConstructor.kt");
|
||||
}
|
||||
|
||||
public void testFunInConstructorBlock() throws Exception {
|
||||
checkFooBoxIsTrue("funInConstructorBlock.kt");
|
||||
}
|
||||
|
||||
public void testPropertyAsFunCalledOnConstructor() throws Exception {
|
||||
checkFooBoxIsTrue("propertyAsFunCalledOnConstructor.kt");
|
||||
}
|
||||
|
||||
public void testNamespacePropertyCalledAsFun() throws Exception {
|
||||
checkFooBoxIsTrue("namespacePropertyCalledAsFun.kt");
|
||||
}
|
||||
|
||||
public void testExtensionLiteralCreatedAtNamespaceLevel() throws Exception {
|
||||
checkFooBoxIsTrue("extensionLiteralCreatedAtNamespaceLevel.kt");
|
||||
}
|
||||
|
||||
public void testTemporaryVariableCreatedInNamespaceInitializer() throws Exception {
|
||||
checkFooBoxIsTrue("temporaryVariableCreatedInNamespaceInitializer.kt");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user