Well spotted. I think the Traits package should be updated. No need of class extension for this. Cheers, Alexandre On 19 Aug 2009, at 14:23, Mariano Martinez Peck wrote:
Hi! I opened this ticket: http://code.google.com/p/pharo/issues/detail?id=1076
This happens when using the OB Package Browser. I am using 10414. To reproduce:
1) Browse any Trait, for example TBehaviorCategorization 2) Select a method, right button, pretty print 3) You will get a Trait DNU #formatterClass
The fix is easy:
Crate in Trait a instance side method:
formatterClass
^self class formatterClass
The thing is that I don't know in which package should this be commited. AST?
Best,
Mariano
ps: the bug report and fix is thanks to Marcelo Cortez
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.