[#61822] Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...>

I would like to request developers meeting around April 17 or 18 in this month.

14 messages 2014/04/03
[#61825] Re: Plan Developers Meeting Japan April 2014 — Urabe Shyouhei <shyouhei@...> 2014/04/03

It's good if we have a meeting then.

[#61826] Re: Plan Developers Meeting Japan April 2014 — Zachary Scott <e@...> 2014/04/03

Regarding openssl issues, I’ve discussed possible meeting time with Martin last month and he seemed positive.

[#61833] Re: Plan Developers Meeting Japan April 2014 — Martin Bo煬et <martin.bosslet@...> 2014/04/03

Hi,

[ruby-core:62155] [ruby-trunk - Bug #7842] An alias of a "prepend"ed method skips the original method when calling super

From: nobu@...
Date: 2014-04-25 06:17:56 UTC
List: ruby-core #62155
Issue #7842 has been updated by Nobuyoshi Nakada.

Description updated

----------------------------------------
Bug #7842: An alias of a "prepend"ed method skips the original method when calling super
https://bugs.ruby-lang.org/issues/7842#change-46310

* Author: Yusuke Endoh
* Status: Closed
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* Category: core
* Target version: 2.1.0
* ruby -v: ruby 2.0.0dev (2013-02-13 trunk 39225) [x86_64-linux]
* Backport: 1.9.3: DONTNEED, 2.0.0: DONE
----------------------------------------
Hello,

~~~ruby
  module P
    def m; puts "P"; super; end
  end
  class A
    def m; puts "A"; end
  end
  class B < A
    def m; puts "B"; end
    prepend P
    alias m2 m
  end
  B.new.m2
    #=> expected: P, B, A
    #=> actual:   P, A
~~~

Is this intentional?
It looks weird to me that calling super of `P#m` (as `m2`) skips `A#m`.

--- 
Yusuke Endoh <mame@tsg.ne.jp>



-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next