do not copy overrides for the delegated methods, it causes failure of delegation to traits which extend other traits
This commit is contained in:
committed by
Andrey Breslav
parent
1061e1ef69
commit
82a5beddea
@@ -73,6 +73,11 @@ public class ClassGenTest extends CodegenTestCase {
|
||||
blackBoxFile("classes/delegation3.kt");
|
||||
}
|
||||
|
||||
public void testInheritanceAndDelegation4() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("classes/delegation4.kt");
|
||||
}
|
||||
|
||||
public void testFunDelegation() throws Exception {
|
||||
createEnvironmentWithMockJdkAndIdeaAnnotations(ConfigurationKind.JDK_ONLY);
|
||||
blackBoxFile("classes/funDelegation.jet");
|
||||
|
||||
Reference in New Issue
Block a user