Do not add extra 'this' parameter for TImpl's accessor

Fixes weird cases like super-call from a closure inside a trait with a required
class
This commit is contained in:
Alexander Udalov
2012-11-06 15:42:22 +04:00
parent 2edb89b5c5
commit 89b8bbec57
4 changed files with 47 additions and 2 deletions
@@ -88,4 +88,12 @@ public class TraitsTest extends CodegenTestCase {
public void testKt2963() {
blackBoxFile("regressions/kt2963.kt");
}
public void testWithRequiredSuper() {
blackBoxFile("traits/withRequiredSuper.kt");
}
public void testWithRequiredSuperViaBridge() {
blackBoxFile("traits/withRequiredSuperViaBridge.kt");
}
}