[stdlib] Annotated new API with SinceKotlin(2.0) where required KT-64904
This commit is contained in:
committed by
Space Team
parent
1c4023fda5
commit
5afb2c5e4b
@@ -144,5 +144,5 @@ public annotation class ExperimentalJsReflectionCreateInstance
|
||||
@Retention(AnnotationRetention.BINARY)
|
||||
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
|
||||
@MustBeDocumented
|
||||
@SinceKotlin("1.9")
|
||||
@SinceKotlin("2.0")
|
||||
public annotation class ExperimentalJsCollectionsApi
|
||||
|
||||
@@ -21,8 +21,7 @@ public expect abstract class AbstractMutableList<E> : MutableList<E> {
|
||||
* to provide fail-fast behavior when a concurrent modification is detected during iteration.
|
||||
* [ConcurrentModificationException] will be thrown in this case.
|
||||
*/
|
||||
// TODO: Should be @SinceKotlin("2.0"), see KT-64904
|
||||
@SinceKotlin("1.9")
|
||||
@SinceKotlin("2.0")
|
||||
protected var modCount: Int
|
||||
|
||||
protected constructor()
|
||||
@@ -30,8 +29,7 @@ public expect abstract class AbstractMutableList<E> : MutableList<E> {
|
||||
/**
|
||||
* Removes the range of elements from this list starting from [fromIndex] and ending with but not including [toIndex].
|
||||
*/
|
||||
// TODO: Should be @SinceKotlin("2.0"), see KT-64904
|
||||
@SinceKotlin("1.9")
|
||||
@SinceKotlin("2.0")
|
||||
protected open fun removeRange(fromIndex: Int, toIndex: Int): Unit
|
||||
|
||||
// From List
|
||||
|
||||
Reference in New Issue
Block a user