I would also love to see more transparency here. We want to upgrade to 3.3, but we're currently blocked due to https://bugs.ruby-lang.org/issues/20091 and unsure when a patch release will hit.zeke (Zeke Gabrielse)
This has been discussed in #8507 and #9291 but both were closed because they lacked a clear use case. I think the following code should work, showing a clear use case: ```ruby invitation = if params.key?(:inviter_id) ...zeke (Zeke Gabrielse)
Pattern matching has become one of my favorite features of Ruby, if not my favorite. It changed the way I write and express my thoughts through clean, maintainable code. And I'd like to use it *more*. I propose a new keyword, `defp`, ...zeke (Zeke Gabrielse)
If you set the environment variable `RUBY_GC_HEAP_INIT_SLOTS` to anything other than `0`, an integer overflow runtime error occurs: ```ruby RUBY_GC_HEAP_INIT_SLOTS=10000 ruby -e 'puts "hello, world!"' # => ruby: integer overflow: 36...zeke (Zeke Gabrielse)
I've found that sometimes, when matching nested patterns, I get an unexpected "duplicate key name" error but there's no duplicate key in any individual pattern. The "duplicated" key is actually in another pattern that's in scope, which I...zeke (Zeke Gabrielse)
When pattern matching arrays, often times we want to assert that a given array's elements all match a pattern. For example: ```ruby class Robot; end class User; end case [User.new, User.new] in [User, *] => u if u.all? { _1 i...zeke (Zeke Gabrielse)
When defining regular expression patterns, it's often the case that you want to anchor with `\A` and `\z` to match the full text input, rather than `^` and `$`, respectively, which may (unintentionally) match text including newlines. Thi...zeke (Zeke Gabrielse)