You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have 3 different behaviors currently:
X.skip throws InvalidArgOutOfRange when count > n
X.take throws InvalidOperation when count > n
X.sample throws InvalidArg when count > n
We should unify this, updating the code along with RFCs probably.
We have 3 different behaviors currently:
X.skip throws
InvalidArgOutOfRange
when count > nX.take throws
InvalidOperation
when count > nX.sample throws
InvalidArg
when count > nWe should unify this, updating the code along with RFCs probably.
Originally posted by @Lanayx in #17277 (comment)
The text was updated successfully, but these errors were encountered: