Since this is a spec ticket, I've rejected it here, and opened it in the spec queue as:
https://github.com/perl6/specs/issues/33 On Tue Jul 20 10:26:57 2010, dave.wh...@gmail.com wrote: > (this is really a perl6 spec (S32) bug, not specifically rakudo ... > but rakudo is what I'm playing with) > > I was looking at colomon's Vector.pm in github, and noticed that > Vector::length is defined as { sqrt( self dot self ) }. This is > obviously incorrect for complex numbers: it should be { sqrt( self dot > conjugate self ) } (for some syntax of "conjugate") > > I can't just add the method to the Complex class, because then the > Vector code would fail ("method not found") for all non-complex > numeric types (for which conjugation is an identity operation). -- Will "Coke" Coleda