Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated Kernel#srand #1441

Merged

Conversation

sampersand
Copy link
Contributor

Updated Kernel#srand to be more correct.

Technically its first argument must respond to to_int, not be Numeric. (srand Class.new(Numeric) fails.) It also always returns an Integer.

@sampersand sampersand force-pushed the swesterman/23-08-18/update-Kernel#srand branch from ba392d4 to 47442f0 Compare August 21, 2023 19:58
@soutaro soutaro added this to the RBS 3.3 milestone Aug 22, 2023
Copy link
Member

@soutaro soutaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@soutaro soutaro added this pull request to the merge queue Aug 22, 2023
@soutaro soutaro modified the milestones: RBS 3.3, RBS 3.2 Aug 22, 2023
Merged via the queue into ruby:master with commit 62194f5 Aug 22, 2023
23 checks passed
@soutaro soutaro added the Released PRs already included in the released version label Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Released PRs already included in the released version
Development

Successfully merging this pull request may close these issues.

2 participants