Allow super calls in object declarations

This commit is contained in:
Alexey Sedunov
2013-11-26 15:55:09 +04:00
parent 897786f087
commit 6dfad69434
5 changed files with 70 additions and 2 deletions
@@ -3531,6 +3531,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/objects/methodOnObject.kt");
}
@TestMetadata("nestedObjectWithSuperclass.kt")
public void testNestedObjectWithSuperclass() throws Exception {
doTest("compiler/testData/codegen/box/objects/nestedObjectWithSuperclass.kt");
}
@TestMetadata("objectLiteral.kt")
public void testObjectLiteral() throws Exception {
doTest("compiler/testData/codegen/box/objects/objectLiteral.kt");
@@ -3541,6 +3546,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest("compiler/testData/codegen/box/objects/objectLiteralInClosure.kt");
}
@TestMetadata("objectWithSuperclass.kt")
public void testObjectWithSuperclass() throws Exception {
doTest("compiler/testData/codegen/box/objects/objectWithSuperclass.kt");
}
@TestMetadata("objectWithSuperclassAndTrait.kt")
public void testObjectWithSuperclassAndTrait() throws Exception {
doTest("compiler/testData/codegen/box/objects/objectWithSuperclassAndTrait.kt");
}
@TestMetadata("receiverInConstructor.kt")
public void testReceiverInConstructor() throws Exception {
doTest("compiler/testData/codegen/box/objects/receiverInConstructor.kt");