fixed critical bug with receiver used in constructor, field initializer

This commit is contained in:
Alex Tkachman
2012-08-31 08:20:42 +03:00
parent a47ab0d408
commit 5038c906b2
4 changed files with 39 additions and 0 deletions
@@ -83,4 +83,12 @@ public class ObjectGenTest extends CodegenTestCase {
public void testKt1737() {
blackBoxFile("regressions/kt1737.kt");
}
public void testReceiverInConstructor() {
blackBoxFile("objects/receiverInConstructor.kt");
}
public void testThisInConstructor() {
blackBoxFile("objects/thisInConstructor.kt");
}
}