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

[3.2 compatibility] Return nil for beginless ranges where the end is not numeric #2978

Merged

Conversation

rwstauner
Copy link
Collaborator

@rwstauner rwstauner commented Apr 4, 2023

#3039

  • Make descriptions match code for beginless range size specs
  • Return nil for beginless ranges where the end is not numeric

This is for ruby 3.2 (TODO: change merge target)

I changed the spec descriptions to match the code... let me know if you think something isn't right about that.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 4, 2023
@rwstauner rwstauner changed the title Return nil for beginless ranges where the end is not numeric [3.2] [3.2 Compatibility] Return nil for beginless ranges where the end is not numeric Apr 6, 2023
@rwstauner rwstauner marked this pull request as ready for review April 6, 2023 19:03
@rwstauner rwstauner changed the title [3.2 Compatibility] Return nil for beginless ranges where the end is not numeric [3.2 compatibility] Return nil for beginless ranges where the end is not numeric Apr 6, 2023
Copy link
Member

@andrykonchin andrykonchin left a comment

Choose a reason for hiding this comment

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

Looks good 👍 . Thank you.

I suppose it's related to https://bugs.ruby-lang.org/issues/18983. It's helpful to have a reference to the original issue (or point at an issue in the Ruby release/NEWS document) in the PR to understand what it is about.

@andrykonchin andrykonchin added the in-ci The PR is being tested in CI. Do not push new commits. label Apr 14, 2023
@andrykonchin andrykonchin force-pushed the rwstauner/ruby3.2-beginless-size-nil branch from f0f05e9 to 0739ce4 Compare April 14, 2023 15:41
@andrykonchin
Copy link
Member

andrykonchin commented Apr 14, 2023

I've rebased on master, added some commits and pushed to the branch.

@eregon eregon force-pushed the rwstauner/ruby3.2-beginless-size-nil branch from 0739ce4 to 3446588 Compare April 20, 2023 11:22
@graalvmbot graalvmbot merged commit ee179eb into oracle:master Apr 20, 2023
@rwstauner
Copy link
Collaborator Author

I suppose it's related to https://bugs.ruby-lang.org/issues/18983. It's helpful to have a reference to the original issue (or point at an issue in the Ruby release/NEWS document) in the PR to understand what it is about.

Thanks, i saw this in the ruby changes but didn't look into where it came from. I'll dig further next time!

@rwstauner rwstauner deleted the rwstauner/ruby3.2-beginless-size-nil branch February 1, 2024 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-ci The PR is being tested in CI. Do not push new commits. OCA Verified All contributors have signed the Oracle Contributor Agreement. shopify
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants