Status: Accepted
Owner:
[hidden email]
Labels: Type-Bug Milestone-1.4
New issue 4964 by
[hidden email]: Number nthRoot: should be
subclassResponsibility
http://code.google.com/p/pharo/issues/detail?id=4964When extending Number protocol in issue 4907 I forgot to implement
#nthRoot: in Number. This is a bug, because the message is sent from
Number>>raisedTo:, so a new Number subclass might fail.
The best thing to do is to implement it with a subclassResponsibility.
It is also better to now let #sqrt be of subclassResponsibility.
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker