[#63592] [ruby-trunk - Bug #10009] IO operation is 10x slower in multi-thread environment — normalperson@...
Issue #10009 has been updated by Eric Wong.
3 messages
2014/07/08
[#63682] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/13
[#63703] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/14
[#63743] [ruby-trunk - Bug #10037] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make — ngotogenome@...
Issue #10037 has been updated by Naohisa Goto.
3 messages
2014/07/15
[#64136] Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb — "Jeffrey 'jf' Lim" <jfs.world@...>
As per subject.
4 messages
2014/07/31
[#64138] Re: Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb
— "Jeffrey 'jf' Lim" <jfs.world@...>
2014/07/31
On Thu, Jul 31, 2014 at 6:03 PM, Jeffrey 'jf' Lim <jfs.world@gmail.com>
[ruby-core:64070] [ruby-trunk - Feature #8546] super errors in UnboundMethods
From:
nobu@...
Date:
2014-07-26 23:07:41 UTC
List:
ruby-core #64070
Issue #8546 has been updated by Nobuyoshi Nakada.
Which revision did you try?
----------------------------------------
Feature #8546: super errors in UnboundMethods
https://bugs.ruby-lang.org/issues/8546#change-48080
* Author: Jim Gay
* Status: Closed
* Priority: Normal
* Assignee:
* Category:
* Target version:
----------------------------------------
`UnboundMethod`s are unable to call `super`
~~~ruby
module M
def hello
puts "hello from M"
end
end
class O
def hello
puts "hello"
end
end
o = O.new
o.hello #=> "hello"
M.instance_method(:hello).bind(o).call #=> "hello from M"
module M
def hello
super
end
end
M.instance_method(:hello).bind(o).call #=> TypeError: self has wrong type to call super in this context: O (expected M)}))
~~~
Given that the non-super method works, I would expect super to work.
--
https://bugs.ruby-lang.org/