[#78633] ruby/spec needs help from CRuby committers — Benoit Daloze <eregontp@...>
Currently, ruby/spec is maintained mostly by individuals and enjoys the
13 messages
2016/12/13
[#78963] Re: ruby/spec needs help from CRuby committers
— Urabe Shyouhei <shyouhei@...>
2017/01/04
I did ask attendees of last developer meeting to join this
[#78642] Re: ruby/spec needs help from CRuby committers
— Eric Wong <normalperson@...>
2016/12/14
Benoit Daloze <eregontp@gmail.com> wrote:
[ruby-core:78839] [Ruby trunk Bug#13074] When execute instance_exec with symbol.to_proc, it ignores first argument.
From:
alpaca-tc@...
Date:
2016-12-26 04:59:19 UTC
List:
ruby-core #78839
Issue #13074 has been reported by Hiroyuki Ishii.
----------------------------------------
Bug #13074: When execute instance_exec with symbol.to_proc, it ignores first argument.
https://bugs.ruby-lang.org/issues/13074
* Author: Hiroyuki Ishii
* Status: Open
* Priority: Normal
* Assignee:
* Target version:
* ruby -v:
* Backport: 2.1: UNKNOWN, 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
Is this intentional?
```
# Ruby 2.3.3
束 instance_exec(1) { |i| i.itself }
=> 1
束 instance_exec(1, &:itself)
=> 1
# Ruby 2.4.0
束 instance_exec(1) { |i| i.itself }
=> 1
束 instance_exec(1, &:itself)
=> main
```
--
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>