Project

General

Profile

Bug #7916

Callback Module.used is not used...

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

Status:
Closed
Priority:
Normal
Target version:
[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 c851bd00
Added by shugo (Shugo Maeda) over 5 years ago

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 39739
Added by shugo (Shugo Maeda) over 5 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 5 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 5 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 5 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 5 years ago

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

Revision 4d45207c
Added by nagachika (Tomoyuki Chikanaga) about 5 years ago

merge revision(s) 39739: [Backport #8081]

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@39951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

History

#1 [ruby-core:52720] Updated by shugo (Shugo Maeda) over 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 5 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