Feature #8632
closed
Remove warnings for Refinements
Added by shugo (Shugo Maeda) about 11 years ago.
Updated about 11 years ago.
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!
- Assignee changed from matz (Yukihiro Matsumoto) to shugo (Shugo Maeda)
I agree. Remove warning.
Matz.
- 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.
[ruby-core:55993] [Feature #8632]
-
test/ruby/test_refinement.rb: related test.
-
NEWS: fixes for the above change.
Also available in: Atom
PDF
Like0
Like0Like0