Project

General

Profile

Bug #7916

Callback Module.used is not used...

Added by marcandre (Marc-Andre Lafortune) almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
trunk
[ruby-core:52719]

Description

Module.used was meant to be called when it is called with using, see r36596.

It's not called right now.

Associated revisions

Revision 39739
Added by shugo (Shugo Maeda) over 4 years ago

  • object.c (Init_Object): remove Module#used, which has been introduced in Ruby 2.0 by mistake. [Bug #7916]

Revision 39739
Added by shugo (Shugo Maeda) over 4 years ago

  • object.c (Init_Object): remove Module#used, which has been introduced in Ruby 2.0 by mistake. [Bug #7916]

Revision 39739
Added by shugo (Shugo Maeda) over 4 years ago

  • object.c (Init_Object): remove Module#used, which has been introduced in Ruby 2.0 by mistake. [Bug #7916]

Revision 39739
Added by shugo (Shugo Maeda) over 4 years ago

  • object.c (Init_Object): remove Module#used, which has been introduced in Ruby 2.0 by mistake. [Bug #7916]

History

#1 [ruby-core:52720] Updated by shugo (Shugo Maeda) almost 5 years ago

marcandre (Marc-Andre Lafortune) wrote:

Module.used was meant to be called when it is called with using, see r36596.

It's not called right now.

It's because Module#using is removed.
Module#used is intended to be called when Module#using is called, so Module#used should be removed now.

#2 Updated by shugo (Shugo Maeda) over 4 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39739.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • object.c (Init_Object): remove Module#used, which has been introduced in Ruby 2.0 by mistake. [Bug #7916]

Also available in: Atom PDF