jeremyevans0 (Jeremy Evans) wrote in #note-11: > […] Maybe in Ruby 4? Bringing this up since it seems that this year’s Ruby version will be 4.0. Is this change going to be considered for inclusion in the new release?sanjioh (Fabio Sangiovanni)
On a second thought, I've come to the conclusion that the benefits in clarity that a fix would provide are not worth the associated performance impact (i.e. the additional search for the real class required to format the error message). ...sanjioh (Fabio Sangiovanni)
Hello everyone, I've noticed that the following snippets both raise `FrozenError`, but with different messages: ``` ruby Object.new.freeze.instance_variable_set(:@test, true) # can't modify frozen Object: #<Object:0x000000010b4d8...sanjioh (Fabio Sangiovanni)
peterzhu2118 (Peter Zhu) wrote in #note-1: > Thank you for this bug report. I have a fix here: https://github.com/ruby/ruby/pull/12667 Thanks for the fix!sanjioh (Fabio Sangiovanni)
Hi all, I'm running macOS 15.2, and on my machine the test `TestGc#test_gc_stress_at_startup` results in an assertion failure. These are my current configure flags: ``` ../configure \ --prefix="$SOURCEDIR/ruby_3.4.1" \ ...sanjioh (Fabio Sangiovanni)
Hi all, I've noticed that the current implementation of `rb_alias` can raise `NameError` exceptions with confusing error messages when the original method cannot be found and ZSUPER methods are involved in the inheritance chain traver...sanjioh (Fabio Sangiovanni)
Eregon (Benoit Daloze) wrote in #note-4: > Should `**` call `to_h` rather than `to_hash`, similar to `*` calling `to_a` and not `to_ary`? Hi, I’m learning Ruby and the fact that `**` calls `to_hash` rather than `to_h` surprised me; I wo...sanjioh (Fabio Sangiovanni)
kddnewton (Kevin Newton) wrote in #note-1: > This is an issue with the syntax suggest gem. Could you open an issue here please? https://github.com/ruby/syntax_suggest/issues Oh of course! Thanks for letting me know. This can be clos...sanjioh (Fabio Sangiovanni)
Hi all, with the following simple snippet of Ruby code: ``` ruby def x.y.z end ``` the interpreter raises a `SyntaxError`, whose message is made up of two sentences with no spaces or punctuation in between (see line no. 2 o...sanjioh (Fabio Sangiovanni)