[#3726] Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...>

Hi --

15 messages 2004/11/12
[#3749] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3751] Re: Fixnum#clone and Float#clone raise different exceptions — Yukihiro Matsumoto <matz@...> 2004/11/16

Hi,

[#3752] Re: Fixnum#clone and Float#clone raise different exceptions — "David A. Black" <dblack@...> 2004/11/16

Hi --

[#3785] The latest 1.8.2 cvs prints parse error when starting extension compiling — Yukihiro Matsumoto <matz@...>

Hi,

13 messages 2004/11/23
[#3787] Re: The latest 1.8.2 cvs prints parse error when starting extension compiling — Johan Holmberg <holmberg@...> 2004/11/23

[1.9] define_method / super

From: ts <decoux@...>
Date: 2004-11-29 17:06:53 UTC
List: ruby-core #3856
uln% cat b.rb
#!/usr/local/bin/ruby

class A
   def tt(aa)
      puts "A#tt"
   end

   def uu(a)
      class << self
         define_method(:tt) do |sym|
            puts "a#tt"
            super
         end
      end
   end
end

a = A.new
a.uu(12)
a.tt(12)
uln% 

uln% ./ruby b.rb
a#tt
b.rb:12: [BUG] Segmentation fault
ruby 1.9.0 (2004-11-29) [x86_64-linux]

Aborted
uln% 


Guy Decoux

In This Thread

Prev Next