[#85940] [Ruby trunk Bug#14578] Forking a child process inside of a mutex crashes the ruby interpreter — ben.govero@...
Issue #14578 has been reported by bengovero (Ben Govero).
3 messages
2018/03/05
[#86205] [Ruby trunk Feature#14618] Add display width method to String for CLI — aycabta@...
Issue #14618 has been reported by aycabta (aycabta .).
3 messages
2018/03/19
[#86366] Re: [ruby-cvs:70102] usa:r63008 (trunk): get rid of test error/failure on Windows introduced at r62955 — Eric Wong <normalperson@...>
usa@ruby-lang.org wrote:
3 messages
2018/03/28
[ruby-core:86227] [Ruby trunk Bug#14619] method(m) is not invoking respond_to_missing?
From:
dblock@...
Date:
2018-03-20 15:28:28 UTC
List:
ruby-core #86227
Issue #14619 has been updated by dblock (Daniel Doubrovkine).
Thanks nobu, indeed, I just wanted to make sure this is seen for a possible p9? patch for 2.2.2, feel free to close if this doesn't need to be backported.
----------------------------------------
Bug #14619: method(m) is not invoking respond_to_missing?
https://bugs.ruby-lang.org/issues/14619#change-71124
* Author: dblock (Daniel Doubrovkine)
* Status: Rejected
* Priority: Normal
* Assignee:
* Target version:
* ruby -v: ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN
----------------------------------------
~~~ ruby
class VariantHash < Hash
def respond_to_missing?(method_name, *args)
true
end
def method_missing(method_name, *args, &blk)
42
end
end
m = "foo_"
h = VariantHash.new(m => 'a')
puts h.method(m)
puts h.send(m)
~~~
Ruby 2.2.2
```
t.rb:14:in `method': undefined method `foo_' for class `VariantHash' (NameError)
from t.rb:14:in `<main>'
```
All other versions of Ruby, including 2.4.1
```
#<Method: VariantHash#foo_>
42
```
I couldn't find a dup for this, trying to track down whether this was a known bug. Thank you and sorry if this is a dup. I'm coming from https://github.com/intridea/hashie/pull/443
--
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>