Change nextInt/Long with range parameters from members to extensions
We'd like to fix the implementation of these methods, so we could intrinsify them later or perform other optimizations that are not possible when these methods are open.
This commit is contained in:
+2
-4
@@ -3916,11 +3916,9 @@ public abstract class kotlin/random/Random {
|
||||
public fun nextInt ()I
|
||||
public fun nextInt (I)I
|
||||
public fun nextInt (II)I
|
||||
public fun nextInt (Lkotlin/ranges/IntRange;)I
|
||||
public fun nextLong ()J
|
||||
public fun nextLong (J)J
|
||||
public fun nextLong (JJ)J
|
||||
public fun nextLong (Lkotlin/ranges/LongRange;)J
|
||||
}
|
||||
|
||||
public final class kotlin/random/Random$Companion : kotlin/random/Random {
|
||||
@@ -3936,16 +3934,16 @@ public final class kotlin/random/Random$Companion : kotlin/random/Random {
|
||||
public fun nextInt ()I
|
||||
public fun nextInt (I)I
|
||||
public fun nextInt (II)I
|
||||
public fun nextInt (Lkotlin/ranges/IntRange;)I
|
||||
public fun nextLong ()J
|
||||
public fun nextLong (J)J
|
||||
public fun nextLong (JJ)J
|
||||
public fun nextLong (Lkotlin/ranges/LongRange;)J
|
||||
}
|
||||
|
||||
public final class kotlin/random/RandomKt {
|
||||
public static final fun Random (I)Lkotlin/random/Random;
|
||||
public static final fun Random (J)Lkotlin/random/Random;
|
||||
public static final fun nextInt (Lkotlin/random/Random;Lkotlin/ranges/IntRange;)I
|
||||
public static final fun nextLong (Lkotlin/random/Random;Lkotlin/ranges/LongRange;)J
|
||||
public static final fun nextUBytes (Lkotlin/random/Random;I)[B
|
||||
public static final fun nextUBytes-EVgfTAA (Lkotlin/random/Random;[B)[B
|
||||
public static final fun nextUBytes-Wvrt4B4 (Lkotlin/random/Random;[BII)[B
|
||||
|
||||
Reference in New Issue
Block a user