General

Profile

tompng (tomoya ishida)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 6 57 63

Activity

12/20/2024

05:28 AM Ruby master Bug #20970: `it /1/i` raises undefined method 'it' for main (NoMethodError) even if binding.local_variables includes `it`
The behavior of nested `it` discussed in #20930 has changed with #20969
~~~
[1].each { p it; [5].each { p it } }
...
tompng (tomoya ishida)

12/19/2024

09:33 AM Ruby master Bug #20965: `it` vs `binding.local_variables`
I have a concern of making `it` parameter an lvar.
~~~ruby
1| 42.tap do
2| p binding.local_variable_get('it')
...
tompng (tomoya ishida)
08:59 AM Ruby master Bug #20970 (Closed): `it /1/i` raises undefined method 'it' for main (NoMethodError) even if binding.local_variables includes `it`
`it` parameter became a local variable with #20965, but it does not behave like local variable with `--parser=prism`
...
tompng (tomoya ishida)
08:10 AM Ruby master Bug #20969 (Closed): Segmentation fault with `Ripper.lex '/(?<_1>)/=~s'`

~~~
ruby -rripper -e "Ripper.lex '/(?<_1>)/=~s'
~~~
Result
~~~
root@4116f371c34c:/# ruby -rripper -e "Ripper...
tompng (tomoya ishida)

12/18/2024

05:08 PM Ruby master Bug #20962 (Closed): Change in behaviour in 3.4.0rc1 of `Hash#inspect`
Applied in changeset commit:git|477c505ac0d4d23a860ffafbb487f7598aa89ca3.
----------
[DOC] Fix output examples conta...
tompng (tomoya ishida)
01:52 PM Ruby master Bug #20962: Change in behaviour in 3.4.0rc1 of `Hash#inspect`
pull request https://github.com/ruby/ruby/pull/12384 tompng (tomoya ishida)
05:08 PM Ruby master Revision 477c505a (git): [DOC] Fix output examples containing old Hash#inspect format
The inspect format was intentionally changed as an outcome of
[Bug #20433] [ruby-core:118668], but some documentation...
tompng (tomoya ishida)

12/16/2024

09:41 PM Ruby master Revision 09dc6352 (git): Bundle repl_type_completor 0.1.9
tompng (tomoya ishida)
01:53 PM Ruby master Revision 4428c51f (git): [ruby/reline] Change quoted_insert and bracketed_paste to a single
key input
(https://github.com/ruby/reline/pull/792)
https://github.com/ruby/reline/commit/8f331edb07
tompng (tomoya ishida)
11:32 AM Ruby master Revision 784bd9c4 (git): [ruby/rdoc] Add attribute :force to RDoc::RubygemsHook just like
RDoc::RubyGemsHook
(https://github.com/ruby/rdoc/pull/1244)
Rubygems creates an instance of RDoc::RubygemsHook, sets...
tompng (tomoya ishida)

Also available in: Atom