[#107008] [Ruby master Bug#18465] Make `IO#write` atomic. — "ioquatix (Samuel Williams)" <noreply@...>
Issue #18465 has been reported by ioquatix (Samuel Williams).
16 messages
2022/01/09
[#107150] [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically — "ko1 (Koichi Sasada)" <noreply@...>
Issue #18494 has been updated by ko1 (Koichi Sasada).
4 messages
2022/01/17
[#107170] Re: [Ruby master Feature#18494] [RFC] ENV["RUBY_GC_..."]= changes GC parameters dynamically
— Eric Wong <normalperson@...>
2022/01/17
> https://bugs.ruby-lang.org/issues/18494
[#107302] [Ruby master Bug#18553] Memory leak on compiling method call with kwargs — "ibylich (Ilya Bylich)" <noreply@...>
Issue #18553 has been reported by ibylich (Ilya Bylich).
4 messages
2022/01/27
[#107346] [Ruby master Misc#18557] DevMeeting-2022-02-17 — "mame (Yusuke Endoh)" <noreply@...>
Issue #18557 has been reported by mame (Yusuke Endoh).
18 messages
2022/01/29
[ruby-core:107347] [Ruby master Bug#18558] Numbered arguments + eval
From:
radarek <noreply@...>
Date:
2022-01-29 19:28:14 UTC
List:
ruby-core #107347
Issue #18558 has been reported by radarek (RadosナBw BuナBt).
----------------------------------------
Bug #18558: Numbered arguments + eval
https://bugs.ruby-lang.org/issues/18558
* Author: radarek (RadosナBw BuナBt)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
* Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN
----------------------------------------
```ruby
def yield_2_args
yield 1, 2
end
yield_2_args { p [eval("_1"), _2] }
```
Running with ruby 2.7.2, I get output:
```
[1, 2]
[1, 2]
```
With 3.0.2, I get output:
```
[1, 2]
(eval):1:in `block in <main>': undefined local variable or method `_1' for main:Object (NameError)
from bug.rb:6:in `eval'
from bug.rb:6:in `block in <main>'
from bug.rb:2:in `yield_2_args'
from bug.rb:6:in `<main>'
```
Is is intentional change between 2.7.x and 3.0.x?
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>