Project

General

Profile

Activity

From 04/27/2023 to 05/03/2023

05/03/2023

03:12 PM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
私を含めた多くの人には #note-3 で @sawa さんが突然怒りだしたように見えます。少なくともその時点で「真剣に提案したものをエイプリルフールジョーク扱いするのは失礼だ」と感じたことは表明しておくべきではなかったでしょうか。また、自分が真剣に提案したものがエイプリルフールジョークだと思われて傷ついたという気持ちは理解できないことはないですが、だからと言って、それに対してコメントの削除なり、追放なりを求めるのはやりすぎだと思います。「私は真剣だった」、「そうでした... matz (Yukihiro Matsumoto)
08:43 AM Revision 04ee666a (git): Make the maximum shapes variation warning non-verbose
[Feature #19538]
Since that category is not enabled by default, making it a
verbose warning is redundant. Enabling performance warning should
work with the default verbosity level.
byroot (Jean Boussier)
05:38 AM Revision 409a13e9 (git): [ruby/stringio] Update write-barrier at copying
http://ci.rvm.jp/results/trunk-asserts@ruby-sp2-docker/4552803
```
verify_internal_consistency_reachable_i: WB miss (O->Y) 0x00007f752ddd5550 [3LM ] strio (StringIO)strio -> 0x00007f752d19b7d0 [0 ] T_STRING (String) len: 8, capa...
nobu (Nobuyoshi Nakada)
05:37 AM Bug #19619: Numbered parameters don't work with method definition with parameters
@nobu In the above commit, I think `node_new_temporary` would be clearer than `node_new_temporal`. duerst (Martin Dürst)
03:01 AM Feature #19627: Ensure the VM is alive before accessing objspace in C API
For documentations sake, [he's a real world reproduction of this issue that happens when calling TLS destructors](https://github.com/bytecodealliance/wasmtime-rb/actions/runs/4850597226/jobs/8643651566?pr=181). In Ruby < 3.3-dev, I'm abl... ianks (Ian Ker-Seymer)
02:23 AM Feature #19627: Ensure the VM is alive before accessing objspace in C API
That’s a good idea. I’ll put a patch up for that.
So far I’ve encountered this issue this issue in `rb_gc_adjust_memory_usage` and `rb_during_gc`, so I still think having the ability to check for a Ruby VM is important for writing ro...
ianks (Ian Ker-Seymer)
02:17 AM Feature #19628 (Open): Add ARGF.each_file for iterating file/io objects
`ARGF` provides helpers for processing file/stdin command line arguments in various ways (bytes, chars, codepoints, etc), but it doesn't currently have a simple way to iterate through the arguments as `File`/`IO` objects. This can be use... davishmcclurg (David Harsha)
01:24 AM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend. ktsj (Kazuki Tsujimoto)

05/02/2023

07:56 PM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
* [Misc #18248] Add Feature Triaging Guide (jeremyevans0)
* Last discussed during October 2021 developer meeting, no decision made at the time.
* I think it would be useful to triage features, so that features in the issue tracker ...
jeremyevans0 (Jeremy Evans)
10:47 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
[EDIT] Jemma Issrof will talk about YARP (https://github.com/Shopify/yarp) at the meeting. Eregon (Benoit Daloze)
08:43 AM Misc #19599: DevMeeting-2023-05-10 @ Matsumoto, Japan
I want to introduce my parser project including https://github.com/yui-knk/lrama and https://rubykaigi.org/2023/presentations/spikeolaf.html#may11. yui-knk (Kaneko Yuichiro)
05:06 PM Revision 32cc6301 (git): [ruby/rdoc] [DOC] stop documenting fallback `MatchData#match_length`
Also empty document of `Object`.
https://github.com/ruby/rdoc/commit/ce32a3102b
nobu (Nobuyoshi Nakada)
03:31 PM Feature #19627: Ensure the VM is alive before accessing objspace in C API
I reported a related issue in https://bugs.ruby-lang.org/issues/19580 which I fixed with https://github.com/ruby/ruby/pull/7663
Maybe you want to explore a similar fix which will short-circuit functions like `rb_gc_adjust_memory_usage...
mdalessio (Mike Dalessio)
03:10 PM Misc #19431: DevMeeting at RubyKaigi 2023
I'll attend jemmai (Jemma Issroff)
01:40 PM Revision 5dfeffc6 (git): Allow EPIPE when the child process has exited before interrupt
nobu (Nobuyoshi Nakada)
09:27 AM Bug #19619 (Closed): Numbered parameters don't work with method definition with parameters
Applied in changeset commit:git|b15e88e0fcccb03b9cc5e4c1478ec9b10e26c961.
----------
[Bug #19619] Preserve numbered parameters context
Preserve numbered parameters context across method definitions
nobu (Nobuyoshi Nakada)
09:27 AM Revision 31774bd5 (git): Remove `sync_tool` task from Rakefile when syncing [ci skip]
nobu (Nobuyoshi Nakada)
08:39 AM Revision b15e88e0 (git): [Bug #19619] Preserve numbered parameters context
Preserve numbered parameters context across method definitions nobu (Nobuyoshi Nakada)
08:17 AM Feature #19626: Alias Base64 methods to non-64 suffixed methods
> Aliasing singleton methods only?
That would make sense.
And while we're at it, I think it would be nice to also alias theses as `.load` and `.dump`, as it makes composing various encoders much easier (e.g. https://github.com/Shop...
byroot (Jean Boussier)
05:42 AM Revision e47aa27d (git): [ruby/rdoc] Section may not have `label`
https://github.com/ruby/rdoc/commit/945f0cb3e9 nobu (Nobuyoshi Nakada)
04:19 AM Revision 3833d0fe (git): [ruby/rdoc] Fix references to nested label in table_of_contents
Fixes https://github.com/ruby/rdoc/pull/1000
https://github.com/ruby/rdoc/commit/291e2b7e8b
nobu (Nobuyoshi Nakada)
03:37 AM Revision 83a822f7 (git): Bump advanced-security/filter-sarif from 1.0.0 to 1.0.1
Bumps [advanced-security/filter-sarif](https://github.com/advanced-security/filter-sarif) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/advanced-security/filter-sarif/releases)
- [Commits](https://github.com/advanced-security...
dependabot[bot]
12:57 AM Feature #19616: Remove ext/readline from Ruby 3.3
https://github.com/ruby/ruby/pull/7781 hsbt (Hiroshi SHIBATA)
12:54 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
I agreed Matz's opinion.
Calm down, please.
hsbt (Hiroshi SHIBATA)
12:04 AM Revision cf861c94 (git): [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.74 to 0.9.75.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.74...v0.9.75)
---
updated-depende...
dependabot[bot]

05/01/2023

11:29 PM Feature #19627 (Closed): Ensure the VM is alive before accessing objspace in C API
Currently, there is no supported way to check if the Ruby VM has been shut down. There are a couple of workarounds that I know of:
1. Setup an exit handler which sets a global variable (like I did in https://github.com/tmm1/stackprof/...
ianks (Ian Ker-Seymer)
09:01 PM Revision bd532fe3 (git): YJIT: Move exits in gen_send_iseq to functions and use ? (#7725)
Jimmy Miller
12:20 PM Revision 13dfbcf7 (git): [ruby/reline] Rewrite dialog rendering
(https://github.com/ruby/reline/pull/492)
* Rewrite dialog rendering
* Fix failing test of dialog with small screen
* Add multiple-dialog rendering test
* Add description comments for each part of render_dialog_changes
tompng (tomoya ishida)
10:30 AM Bug #19611: Ruby hangs up with `while true && true`
Oh I didn't notice you already had a patch for this. Yeah, omitting the unreachable branches during the compile step entirely makes more sense. kjtsanaktsidis (KJ Tsanaktsidis)
08:40 AM Revision dd5ba1b7 (git): Update generate_spdx_license_list.rb
- Follow up RegexpLiteral at 9264d834215aa7ce14b0273032a7686c20141db9.
- Split the code to be generated so that `REGEXP` does not need
escapes.
- Use `REGEXP.match?` since support for Ruby 2.3 or earlier has been
dropped.
nobu (Nobuyoshi Nakada)
08:38 AM Revision 90baadb9 (git): Ignore to sync used_cassettes.txt
hsbt (Hiroshi SHIBATA)
07:58 AM Revision f93fcdb8 (git): Bump advanced-security/filter-sarif
Bumps [advanced-security/filter-sarif](https://github.com/advanced-security/filter-sarif) from eac3ea6a5e1270952681bf7287598a6cd1a4d49d to bc96d9fb9338c5b48cc440b1b4d0a350b26a20db.
- [Release notes](https://github.com/advanced-security/f...
dependabot[bot]
03:51 AM Revision dc2a3dec (git): Bump ruby/setup-ruby from 1.147.0 to 1.148.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.147.0 to 1.148.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/6cecb48364174b0952995175c55f9bf552...
dependabot[bot]
12:25 AM Feature #19626: Alias Base64 methods to non-64 suffixed methods
Aliasing singleton methods only?
```diff
diff --git a/lib/base64.rb b/lib/base64.rb
index 15c0b297ce2..e148adeaaf1 100644
--- a/lib/base64.rb
+++ b/lib/base64.rb
@@ -110,4 +110,10 @@
end
strict_decode64(str)
end
...
nobu (Nobuyoshi Nakada)

04/30/2023

11:29 PM Feature #19626 (Open): Alias Base64 methods to non-64 suffixed methods
Long time Ruby user, first time issue poster. Apologies if this isn't the correct process of proposing this sort of change. Redirect me somewhere else if I need to be.
I'd like to propose aliasing the methods in the Base64 module to n...
ryanbigg (Ryan Bigg)
11:09 PM Revision 33833aaf (git): [DOC] hash.c: fix typo in `#<=>` docs
chastell (Piotr Szotkowski)
08:10 PM Bug #19624 (Closed): Backticks - IO object leakage
Applied in changeset commit:git|814f52a9ebd035ec6e20641c602fa42f64b5dbe0.
----------
[Bug #19624] Hide internal IO for backquote
nobu (Nobuyoshi Nakada)
02:56 PM Bug #19624 (Closed): Backticks - IO object leakage
Hi,
This code works on ruby 3.0.6:
```ruby
`echo`
ObjectSpace.each_object(IO) do |io|
if ![STDIN, STDOUT, STDERR].include?(io)
io.close
end
end
```
but raises `IOError` on 3.2.2:
```
minimal-repro-case.rb:8:in `cl...
pineman (João Pinheiro)
08:10 PM Revision 814f52a9 (git): [Bug #19624] Hide internal IO for backquote
nobu (Nobuyoshi Nakada)
07:48 PM Bug #19625 (Closed): Ruby 3.2 MJIT never triggers JIT compaction
[This patch](https://github.com/ruby/ruby/pull/6900) accidentally removed a condition to trigger JIT compaction from Ruby 3.2.
This PR https://github.com/ruby/ruby/pull/7777 makes it work again. This ticket is to request a backport fo...
k0kubun (Takashi Kokubun)
02:21 PM Revision b82c06a7 (git): Handle private AREF call in compile.c
nobu (Nobuyoshi Nakada)
01:53 PM Revision 160f83ba (git): Relax timeout limit for FreeBSD again [ci skip]
nobu (Nobuyoshi Nakada)
07:49 AM Bug #19623 (Closed): Ruby 3.2 MJIT crashes on railsbench
Ruby 3.2 MJIT crashes on railsbench when you use `--mjit-max-cache=10000`.
```
[2023-04-29T22:49:00.915217 #412381] FATAL -- : [bc56d52f-5930-4307-8af7-3f58a44eb089]
[bc56d52f-5930-4307-8af7-3f58a44eb089] NoMethodError (undefined...
k0kubun (Takashi Kokubun)

04/29/2023

04:55 PM Revision c2871161 (git): [ruby/rdoc] Fix polynominal backtracking
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/1311ca8c50
nobu (Nobuyoshi Nakada)
04:55 PM Revision 85a9fd19 (git): [ruby/rdoc] Fix polynominal backtracking
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/adfa7db5b9
nobu (Nobuyoshi Nakada)
02:28 AM Revision d2396436 (git): core_assertions.rb: Support old rubies
Some symbol argument might not be accepted by Process.clock_gettime. nobu (Nobuyoshi Nakada)
01:40 AM Revision ecd42cfe (git): Skip added tool files
Get rid of accidents like 966f0d91e2a86fa1347cdafbe1af47e7350aa4ca. nobu (Nobuyoshi Nakada)

04/28/2023

11:44 PM Revision 8189a140 (git): Revert "[ruby/rdoc] Update test libraries from ruby/ruby 2023-04-29"
This reverts commit 966f0d91e2a86fa1347cdafbe1af47e7350aa4ca. hsbt (Hiroshi SHIBATA)
05:20 PM Revision e9930b51 (git): [ruby/irb] Retire magic-file.rb
(https://github.com/ruby/irb/pull/574)
`MagicFile` was introduced around v0.9.6, which was like 14~15 years ago.
It was needed because back then we needed to read a file's magic comment
to determine the encoding of it, and read it with ...
st0012 (Stan Lo)
05:09 PM Revision d4dc149c (git): Update an Intel SDM link [ci skip]
k0kubun (Takashi Kokubun)
04:09 PM Revision 966f0d91 (git): [ruby/rdoc] Update test libraries from ruby/ruby 2023-04-29
From https://github.com/ruby/ruby/commit/74028c210c23a13b3168886efcf837b4bf930468
https://github.com/ruby/rdoc/commit/badc518c57
nobu (Nobuyoshi Nakada)
03:46 PM Revision 74028c21 (git): sync_tool.rake: Fold too long message [ci skip]
Split into title and body, like as the pull-request. nobu (Nobuyoshi Nakada)
03:39 PM Revision d887cd5e (git): sync_tool.rake: Add --update and --keep options [ci skip]
nobu (Nobuyoshi Nakada)
03:26 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Ah right. So an anonymous class is used to ensure there is no conflict with the generated method name and e.g. it can just be `render`.
Another way to do this would be to compile to a lambda, then an instance of MyTemplate would be all ...
Eregon (Benoit Daloze)
01:33 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Eregon (Benoit Daloze) wrote in #note-39:
> Why not `#<MyTemplate:0x000055e017895038 @path="path/to/file">` for an instance of MyTemplate and so no anonymous classes?
Because we want to compile the template to ruby once per process, ...
Dan0042 (Daniel DeLorme)
10:59 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-38:
> In any case, this also affects the output of errors such that those names may not be "eval" able. @Eregon can you clarify if this is still a problem for you? If not, why not?
Yes, it is...
Eregon (Benoit Daloze)
02:38 PM Feature #8707: Hash#reverse_each
Another point is that that hash.reverse_each already exists via enumerable, but with a highly suboptimal array conversion. If it didn't exist you could perhaps debate whether it should be added, but that's moot at this point. The only qu... bughit (bug hit)
01:31 PM Revision 08608be7 (git): sync_tool.rake: Adjust the location [ci skip]
nobu (Nobuyoshi Nakada)
01:05 PM Revision 9ea1281a (git): Add sync_tool.rake [ci skip]
nobu (Nobuyoshi Nakada)
01:05 PM Revision afc98e3b (git): Copy also helper.rb [ci skip]
nobu (Nobuyoshi Nakada)
01:05 PM Revision 0bd27823 (git): Improve sync_test_lib.rb [ci skip]
- read files to copy once at first
- take the destination top directory from command line arguments
- fix a typo
nobu (Nobuyoshi Nakada)
12:08 PM Bug #19622 (Closed): Undocumented behavior of Array#& and similar methods
Currently, the [Array#& docs](https://ruby-doc.org/3.2.2/Array.html#method-i-26) only state that the objects are compared using `eql?` method. However, it turns out that if arrays are "big" (size more than `SMALL_ARRAY_LEN`), then the ha... tycooon (Yuri Smirnov)
11:55 AM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
I think `Method#defining_proc` and `UnboundMethod#defining_proc` make more sense, as most methods (all the ones defined with `def`) don't have a Binding so just having `Method#binding` defined would be misleading, and also if there are o... Eregon (Benoit Daloze)
11:32 AM Bug #19621 (Closed): Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
nobu (Nobuyoshi Nakada)
10:05 AM Bug #19621: Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
The reading does not seem to be the problem, but the hash operations.
felix.wolfsteller@betterplace.org (Felix Wolfsteller)
09:04 AM Bug #19621 (Closed): Resolv::Hosts uses ineffective File.read, making using big hosts file 'impossible'
By default on unixoid systems, `Resolv` will read `/etc/hosts` once. Privacy- and security aware people might use the file to prevent unwanted traffic, developers use it to quickly manipulate address resolution.
`Resolv::Hosts` uses [...
felix.wolfsteller@betterplace.org (Felix Wolfsteller)
11:29 AM Revision 7ba37cb7 (git): [ruby/resolv] Prefer `Array#concat` over `#+=` on `Array`
Fix https://bugs.ruby-lang.org/issues/19621
https://github.com/ruby/resolv/commit/7faaa78847
nobu (Nobuyoshi Nakada)
09:29 AM Revision 35da0d4a (git): Support older git
The -b flag is available since 2.28, but Ubuntu 20.04 uses 2.25. nobu (Nobuyoshi Nakada)
07:20 AM Feature #12165: Hash#first, Hash#last
stillhart (Fabian Stillhart) wrote:
> Interestingly I while playing arround I found out that the Hash#first method works. But why is it not in the ruby-doc?
It is [`Enumerable#first`](https://docs.ruby-lang.org/en/3.2/Enumerable.html...
nobu (Nobuyoshi Nakada)
04:58 AM Feature #19559: Introduce `Symbol#+@` and `Symbol#-@`, and eventually replace boolean arguments with symbols
以下のコメントに付き、松本さん以外の開発者の方でも対処できる方がいれば、対処をお願いします。 sawa (Tsuyoshi Sawada)
03:45 AM Revision 9b07d30d (git): Bump github/codeql-action from 2.3.0 to 2.3.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.0 to 2.3.2.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
...
dependabot[bot]
02:05 AM Revision 4134eb21 (git): Update bundled gems list at f6694b5bc89dffdc1d8b24f8c08ded [ci skip]
git[bot]
02:04 AM Revision f6694b5b (git): Bundle rbs-3.1.0 (#7766)
soutaro (Soutaro Matsumoto)

04/27/2023

09:49 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
The difference between a dynamically defined `inspect` which can do anything vs `Module#name` which is cached is significant, including but not limited to execution time, exception handling and memory allocations. As already linked, http... ioquatix (Samuel Williams)
03:36 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
Dan0042 (Daniel DeLorme) wrote in #note-35:
> But let's say it really is too slow to do a `rb_funcall` for each nested namespace;
Module#name is cached (and returns a frozen string) and should likely remain cached.
But you are not...
Eregon (Benoit Daloze)
01:27 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-33:
> @Dan0042 unfortunately your proposal doesn't really work for nested classes without major performance issues.
I sort of understand what you mean, but I think it's premature to dismiss a...
Dan0042 (Daniel DeLorme)
12:35 PM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
ioquatix (Samuel Williams) wrote in #note-33:
> doesn't really work for nested classes
Why not? Can you elaborate?
I think @Dan0042's idea is much less invasive than "breaking" Class#name and much more likely to be acceptable.
Es...
Eregon (Benoit Daloze)
07:00 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
@Dan0042 unfortunately your proposal doesn't really work for nested classes without major performance issues. ioquatix (Samuel Williams)
01:09 AM Feature #19520: Support for `Module.new(name)` and `Class.new(superclass, name)`.
I also really want the ability to give better names to dynamically created classes. In particular for something that is created once via a registry, like `x = MyTemplate["path/to/file"]`, having `x.new.bad` produce an error like "undefin... Dan0042 (Daniel DeLorme)
09:27 PM Revision f2c36773 (git): Introduce --enable-rjit=disasm
k0kubun (Takashi Kokubun)
08:28 PM Feature #8707: Hash#reverse_each
> Do we really need it? What is use-cases?
When you have an ordered collection it seems self evident that you may need to iterate in reverse. This would for example back a performant `last(n = 1)` method (#12165)
Would you demand to kn...
bughit (bug hit)
08:16 PM Feature #12165: Hash#first, Hash#last
Hash should absolutely have a performant last method that doesn't build an intermediate array (`hash.(values|keys).last`). This is connected to having a performant reverse_each (#8707) bughit (bug hit)
08:04 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Another use-case is simply to match `Proc#binding`. I originally assumed that Method#binding and UnboundMethod#binding already existed. And when I asked several other very knowledgable rubyist's if they knew how to access the enclosed ... nevans (Nicholas Evans)
06:52 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Perhaps I shouldn't have given the Regexp use-case, since there are many other approaches we can (and should) use to audit our regexps. Although that was the immediate trigger for this ticket, it wasn't the first or the most common reas... nevans (Nicholas Evans)
06:44 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding

Eregon (Benoit Daloze) wrote in #note-2:
> Maybe an easier/better/more portable way to do that would be to have a flag to check that all Regexp are linear when they are executed, e.g., by the test suite?
> ...
...
> It could also be...
nevans (Nicholas Evans)
12:08 PM Feature #19617: Add Method#binding and UnboundMethod#binding, similar to Proc#binding
Ah BTW one concern I have with https://github.com/ruby/net-imap/blob/92db350b24c388d2a2104f36cac9caa49a1044df/test/net/imap/regexp_collector.rb is it could only work CRuby due to using RubyVM::InstructionSequence.
That seems problematic...
Eregon (Benoit Daloze)
04:44 PM Feature #19620 (Open): allow non-module rescue filters that implement the === opertor
```ruby
module FooErrorFilter
def self.===(e)
e.message =~ /foo/
end
end
def foo_error_filter
FooErrorFilter
end
begin
raise 'foo error'
rescue foo_error_filter => e
p e.message
end
```
Filter matching ...
bughit (bug hit)
03:42 PM Revision 5cd4f35d (git): [ruby/irb] Simplify Locale#load
(https://github.com/ruby/irb/pull/571)
* Simplify Locale#load
Instead of loading file content with `MagicFile` and then evaluting it,
we can just use `Kernel.load` to load the file.
* Remove unused optional argument
* Remove unused L...
st0012 (Stan Lo)
02:15 PM Bug #19619: Numbered parameters don't work with method definition with parameters
Since this doesn't work too, endless and/or singleton method definition doesn't seem to matter.
```ruby
1.times {p _1; def bar; end} #=> 0
1.times {p _1; def bar x; end} #=> nil
```
nobu (Nobuyoshi Nakada)
01:16 PM Revision fef8cca8 (git): Merge T_OBJECT case in rb_ivar_delete function
S_H_ (Shun Hiraoka)
11:55 AM Bug #19606 (Closed): addr2line.c broken on Fedora 38
alanwu (Alan Wu)
11:07 AM Revision a58cae77 (git): [ruby/irb] Stop using MagicFile for printing help messages
(https://github.com/ruby/irb/pull/573)
`MagicFile` was introduced around v0.9.6, which was like 14~15 years ago.
It was needed because back then we needed to read a file's magic comment
to determine the encoding of it, and read it with ...
st0012 (Stan Lo)
05:52 AM Bug #19611 (Closed): Ruby hangs up with `while true && true`
Applied in changeset commit:git|c7bacf84f04201787d26e4a4be8aca61ff1e454b.
----------
[Bug #19611] Remove never-reachable branch in logical expression
nobu (Nobuyoshi Nakada)
03:26 AM Bug #19611: Ruby hangs up with `while true && true`
Mine:
https://github.com/ruby/ruby/pull/7753
https://github.com/ruby/ruby/pull/7754
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-2:
> This code isn't optimal though. A second pass of the peephole optimizer would reduce this do...
nobu (Nobuyoshi Nakada)
05:52 AM Revision c7bacf84 (git): [Bug #19611] Remove never-reachable branch in logical expression
nobu (Nobuyoshi Nakada)
03:32 AM Revision b0cb54a3 (git): Constify `type` and `typed_flag` in `RTypedData`
These must not be changed once initialized. nobu (Nobuyoshi Nakada)
02:25 AM Revision dd406c5a (git): Skip DW_FORM_GNU_* forms in addr2line.c
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt refer to data stored in an
external ELF file specified by a .gnu_debugaltlink attribute. These
attributes are generated by dwz(1), which extracts DWARF data common
amongst several files and st...
KJ Tsanaktsidis
01:19 AM Revision 417eb83b (git): RJIT: Tweak the default call threshold
This number works better on yjit-bench (ruby-lsp). k0kubun (Takashi Kokubun)
01:12 AM Revision cbfb5fbb (git): RJIT: Fix unspecified_bits with locals
k0kubun (Takashi Kokubun)
 

Also available in: Atom