Status: WorkNeeded
Owner:
[hidden email]
Labels: Type-Bug Milestone-2.0
New issue 6378 by
[hidden email]: Magnitude >> putOn: is faulty
http://code.google.com/p/pharo/issues/detail?id=6378Magnitude >> putOn:
When encountering a binary stream, magnitude tries to call to "self
asByteArray". The only subclass of Magnitude that implements asByteArray is
Integer. The rest (Float, Fraction, Character, Date, etc) will simply
throws a DoesNotUnderstand exception.
Solution:
--> added isBinary to Stream returning false
--> Moved putOn: to Integer.
In general, the whole putOn: idea should be rethought (in the context of a
new Stream implementation).
_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker