KT-12873: add temporary variables generated by delegation expression to class initializer. Fix #KT-12873

This commit is contained in:
Alexey Andreev
2016-08-26 11:35:25 +03:00
parent 1a94e2202b
commit 60a09ecb45
3 changed files with 37 additions and 2 deletions
@@ -99,4 +99,8 @@ public class DelegationTest extends SingleFileTranslationTest {
public void testOnObject() throws Exception {
checkFooBoxIsOk();
}
public void testComplexDelegation() throws Exception {
checkFooBoxIsOk();
}
}