mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 08:25:20 +08:00
Simplify rb_obj_freeze
The frozen check in `OBJ_FREEZE` makes the separate check redundant, and immediate values are always frozen, so the old assertion is unreachable.
This commit is contained in:
1 file changed
+1
-6
Notes:
git
2026-09-19 10:22:55 +00:00
Reference in new issue
Block a user