612a66805f (master): Remove spurious obj != klass check in shape_get_next

0 views
Skip to first unread message

Max Bernstein

unread,
4:59 PM (3 hours ago) 4:59 PM
to ruby...@g.ruby-lang.org
Max Bernstein 2025-12-03 21:02:31 +0000 (Wed, 03 Dec 2025)

New Revision: 612a66805f

https://github.com/ruby/ruby/commit/612a66805f

Log:
Remove spurious obj != klass check in shape_get_next

This should never be true. I added an `rb_bug` in case it was and it
wasn't true in any of btest or test-all.

Co-authored-by: Aaron Patterson <tende...@ruby-lang.org>

Modified files:
shape.c
Reply all
Reply to author
Forward
0 new messages