[#66126] Creation/Conversion methods/functions table for Ruby types — SASADA Koichi <ko1@...>
Hi,
5 messages
2014/11/07
[#66248] [ruby-trunk - Feature #10423] [PATCH] opt_str_lit*: avoid literal string allocations — normalperson@...
Issue #10423 has been updated by Eric Wong.
3 messages
2014/11/13
[#66595] [ruby-trunk - Bug #10557] [Open] Block not given when the argument is a string — bartosz@...
Issue #10557 has been reported by Bartosz Kopinski.
3 messages
2014/11/30
[ruby-core:66530] [ruby-trunk - Bug #10485] NoMethodError "undefined method `initialize_copy'" when trying to execute Queue#dup
From:
bubo47@...
Date:
2014-11-27 12:22:15 UTC
List:
ruby-core #66530
Issue #10485 has been updated by Jakub Jursa. Recursive Madman wrote: > > Not all methods in super classes always work on all subclasses. > > If a method that works on a superclass doesn't work on a subclass, I would expect the subclass to at least mark it as `private` and definitely not segfault. definitely. ---------------------------------------- Bug #10485: NoMethodError "undefined method `initialize_copy'" when trying to execute Queue#dup https://bugs.ruby-lang.org/issues/10485#change-50145 * Author: Jakub Jursa * Status: Feedback * Priority: Normal * Assignee: * Category: ext * Target version: current: 2.2.0 * ruby -v: ruby 2.2.0dev (2014-11-07 trunk 48313) [x86_64-linux] * Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN ---------------------------------------- Queue#dup raises NoMethodError (Queue#clone as well) ~~~ :001 > q = Queue.new => #<Thread::Queue:0x00000001507ca0> :002 > q.dup NoMethodError: undefined method `initialize_copy' for #<Thread::Queue:0x00000001504c08> from (irb):2:in `initialize_dup' from (irb):2:in `dup' from (irb):2 from /home/bubo/.rvm/rubies/ruby-head/bin/irb:11:in `<main>' ~~~ -- https://bugs.ruby-lang.org/