Feature #8632

Remove warnings for Refinements

Added by Shugo Maeda almost 2 years ago. Updated over 1 year ago.

[ruby-core:55993]
Status:Closed
Priority:Normal
Assignee:Shugo Maeda

Description

Can I remove the following warning for Refinements?

$ ruby -ve 'module M; refine(Fixnum) {}; end'
ruby 2.1.0dev (2013-07-01 trunk 41717) [i686-linux]
-e:1: warning: Refinements are experimental, and the behavior may change in future versions of Ruby!

Associated revisions

Revision 42272
Added by Shugo Maeda over 1 year ago

  • eval.c (rb_mod_refine, mod_using, top_using): don't show
    warnings because Refinements are no longer experimental.
    [Feature #8632]

  • test/ruby/test_refinement.rb: related test.

  • NEWS: fixes for the above change.

Revision 42272
Added by Shugo Maeda over 1 year ago

  • eval.c (rb_mod_refine, mod_using, top_using): don't show
    warnings because Refinements are no longer experimental.
    [Feature #8632]

  • test/ruby/test_refinement.rb: related test.

  • NEWS: fixes for the above change.

History

#1 Updated by Yukihiro Matsumoto almost 2 years ago

  • Assignee changed from Yukihiro Matsumoto to Shugo Maeda

I agree. Remove warning.

Matz.

#2 Updated by Shugo Maeda over 1 year ago

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

This issue was solved with changeset r42272.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


  • eval.c (rb_mod_refine, mod_using, top_using): don't show
    warnings because Refinements are no longer experimental.
    [Feature #8632]

  • test/ruby/test_refinement.rb: related test.

  • NEWS: fixes for the above change.

Also available in: Atom PDF