kt-1760 delegation to java iface:
- removed codegen's unnecessary lookup for a declaration - skipped class' only supertype (if any) methods when delegating
This commit is contained in:
committed by
Andrey Breslav
parent
78cb5381f7
commit
b84f068c33
@@ -0,0 +1,3 @@
|
||||
class TestIface(r : Runnable) : Runnable by r {}
|
||||
|
||||
class TestObject(o : Object) : <!DELEGATION_NOT_TO_TRAIT!>Object<!> by o {}
|
||||
Reference in New Issue
Block a user