Issue #3067 has been updated by yhara (Yutaka HARA).

Description updated
Target version changed from 2.0.0 to next minor


----------------------------------------
Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
https://bugs.ruby-lang.org/issues/3067#change-31803

Author: Eregon (Benoit Daloze)
Status: Assigned
Priority: Normal
Assignee: matz (Yukihiro Matsumoto)
Category: core
Target version: next minor


=begin
 Hi, this is more of a question than a bug, feature or whatever,
   but I wonder why Complex#~ has been removed ?
 
 I can read in complex.c:
 #if 0
     rb_define_method(rb_cComplex, "~", nucomp_conj, 0); /* gcc */
 #endif
 
 gcc would have problems with it? why?
 
 Fixnum#~ and Bignum#~ are not commented and work right.
 
 Maybe the method should be added at a higher level, if possible, if it is a compiler issue ?
 
 B.D.
=end



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