mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-13 08:31:31 +00:00
Removed toArray() from collections (few tests are still failing).
#KT-3352 in progress
This commit is contained in:
@@ -34,7 +34,5 @@ public trait HalfSubstitutedTypeParameters : java.lang.Object {
|
||||
public abstract override /*1*/ /*fake_override*/ fun set(/*0*/ index: jet.Int, /*1*/ element: E): E
|
||||
public abstract override /*1*/ /*fake_override*/ fun size(): jet.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun subList(/*0*/ fromIndex: jet.Int, /*1*/ toIndex: jet.Int): jet.MutableList<E>
|
||||
public abstract override /*1*/ /*fake_override*/ fun toArray(): jet.Array<jet.Any?>
|
||||
public abstract override /*1*/ /*fake_override*/ fun </*0*/ T> toArray(/*0*/ a: jet.Array<out T>): jet.Array<T>
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,4 @@ public trait SubclassOfCollection</*0*/ E> : jet.MutableCollection<E> {
|
||||
public abstract override /*1*/ /*fake_override*/ fun removeAll(/*0*/ c: jet.Collection<jet.Any?>): jet.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun retainAll(/*0*/ c: jet.Collection<jet.Any?>): jet.Boolean
|
||||
public abstract override /*1*/ /*fake_override*/ fun size(): jet.Int
|
||||
public abstract override /*1*/ /*fake_override*/ fun toArray(): jet.Array<jet.Any?>
|
||||
public abstract override /*1*/ /*fake_override*/ fun </*0*/ T> toArray(/*0*/ a: jet.Array<out T>): jet.Array<T>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user