Thank you for the proposal. Introducing a new method rather than extending `source_location` is the right direction, given the compatibility issues we hit. I approve the shape of this feature, including: - The class name `Ruby::Sou...matz (Yukihiro Matsumoto)
I'd like to suggest we settle the design before changing the permissions. Specifically: 1. The current policy around default/bundled/unbundled gems should be written down. `doc/maintainers.md` is outdated, and until it's updated, d...matz (Yukihiro Matsumoto)
Two comments on this proposal. First, I am not fond of exposing this as a Ruby-level opt-in (Class#safe_initialization). The classes that actually benefit are C-implemented ones, where uninitialized state can cause segfaults. Pure Rub...matz (Yukihiro Matsumoto)
`Ractor.make_shareable` does more than deep freezing and exists for Ractor. Its presence does not by itself justify `deep_freeze` in core. In my opinion, deep freezing is a rare need in practice, and the `ice_nine` gem seems to cover ...matz (Yukihiro Matsumoto)
Thanks for the analysis in #13, especially the finding about node_id fragility across Prism versions. But I don't think the offset-based approach solves the real problem. It makes the identifier more robust, but the node returned is s...matz (Yukihiro Matsumoto)
Not many people use `Hash` inclusion operators, and I doubt anyone expects them to behave consistently when `compare_by_identity` is involved. Rather than raising an exception, I think returning `nil` from `==`, `<=` and `>=` whenever ei...matz (Yukihiro Matsumoto)
I think it's good to add an offset: keyword argument to `Array#index` and `Array#rindex`, for consistency with `String#index` and `String#rindex`. As for `Array#find_index`, I think we should add `offset:` there as well, keeping it in...matz (Yukihiro Matsumoto)
After reconsideration, I think `tap_each` is a better name than `tee` for this method. `tee` is familiar to Unix users, but Python's `itertools.tee` has a very different meaning (splitting an iterator into multiple independent iterato...matz (Yukihiro Matsumoto)