KT-4485 getGenericInterfaces vs getInterfaces for kotlin classes

#KT-4485 fixed
This commit is contained in:
Evgeny Gerashchenko
2014-01-29 17:57:50 +04:00
parent 0e9875aec3
commit abf352cebd
3 changed files with 33 additions and 0 deletions
@@ -350,6 +350,10 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
sw.writeSuperclassEnd();
LinkedHashSet<String> superInterfaces = new LinkedHashSet<String>();
sw.writeInterface();
sw.writeClassBegin(Type.getObjectType(JvmAbi.JET_OBJECT.getInternalName()));
sw.writeClassEnd();
sw.writeInterfaceEnd();
superInterfaces.add(JvmAbi.JET_OBJECT.getInternalName());
for (JetDelegationSpecifier specifier : myClass.getDelegationSpecifiers()) {