Skip to content

Commit

Permalink
Document more about ruby_bug
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Sep 4, 2023
1 parent e8718e0 commit 79456e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ In case there is a bug in MRI and the fix will be backported to previous version
If it is not backported or not likely, use `ruby_version_is` instead.
First, file a bug at https://bugs.ruby-lang.org/.
The problem is `ruby_bug` would make non-MRI implementations fail this spec while MRI itself does not pass it, so it should only be used if the bug is/will be fixed and backported.
Otherwise, non-MRI implementations would have to choose between being incompatible with the latest release of MRI to pass the spec or fail the spec, both which make no sense.

```ruby
ruby_bug '#13669', ''...'3.2' do
Expand Down

0 comments on commit 79456e6

Please sign in to comment.