Simplify ImplementationBodyCodegen#generateToArray
- don't do anything for interfaces because there's no point in generating abstract methods which are already abstract in supertypes - don't use getDeclaredFunctionByRawSignature, check function signature manually instead - don't use isOrOverridesSynthesized because 'toArray' is never synthesized
This commit is contained in:
@@ -2089,8 +2089,6 @@ public abstract interface class kotlin/text/MatchGroupCollection : java/util/Col
|
||||
public abstract fun remove (Lkotlin/text/MatchGroup;)Z
|
||||
public abstract fun removeAll (Ljava/util/Collection;)Z
|
||||
public abstract fun retainAll (Ljava/util/Collection;)Z
|
||||
public abstract fun toArray ()[Ljava/lang/Object;
|
||||
public abstract fun toArray ([Ljava/lang/Object;)[Ljava/lang/Object;
|
||||
}
|
||||
|
||||
public abstract interface class kotlin/text/MatchResult {
|
||||
|
||||
Reference in New Issue
Block a user