mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 12:34:21 +00:00
`RSHAPE_PARENT` is error prone because it returns a raw untagged shape_id. To check if a shape is a direct parent of another, tags should be discarded. So providing a comparison function is better than exposing untagged ids.