Hi Mariano, I think the problem is that since #localize is not implemented the system stops working because it depends on String>>printOn: (considering that source code is a string too...). If you first implement #localize and then implement #printOn: it seems to work ok. In any case, overriding String>>printOn: does not seem to be a good idea.
HTH, Adrian On May 5, 2009, at 17:52 , Mariano Martinez Peck wrote: > Fuck....It seems to be more complex to reproduce. These are the > steps I am > doing > > 1) open OB. > 2) go to String class, method printOn: > 3) modify printOn: to this: > > printOn: aStream > "Print inside string quotes, doubling inbedded quotes." > > self size < 100 > ifTrue: [ self localize storeOn: aStream ] > ifFalse: [ self storeOn: aStream ] > > 4) save it and put initials if asked. > 5) as localize is not created yet, it ask you the selector. Ignore > it and > select localize (the first option) > 6) ctrl + a (select all text) and try to create the method localize. > It can > be just empty this method. > 7) try to save > 8) your image may be freeze :) > > > Can you confirm this ? I am sorry I said I was on Linux. I thought I > was at > home, but not, unfortunately I am with Windows at work :( > > Cheers, > > Mariano > > > On Tue, May 5, 2009 at 2:40 PM, Alexandre Bergel > <[email protected]>wrote: > >>> Cool! I'm currently collecting all the cases which freezing an >>> image, >>> to find a best way in new scheduler how to prevent that. >>> I need more!! :) >>> >>> :) But does this happen also to you ? >> >> >> In a 10300 on OSX I can do without any problem: >> String compile: 'foo ^ 60'. 'abc' foo >> => 60 >> >> Something more you want me to test ? >> >> Alexandre >> >> >> >>> >>> >>>> Cheers, >>>> >>>> Mariano >>>> >>>> _______________________________________________ >>>> Pharo-project mailing list >>>> [email protected] >>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Igor Stasenko AKA sig. >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [email protected] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >>> >>> _______________________________________________ >>> Pharo-project mailing list >>> [email protected] >>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> >> -- >> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: >> Alexandre Bergel http://www.bergel.eu >> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. >> >> >> >> >> >> >> _______________________________________________ >> Pharo-project mailing list >> [email protected] >> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >> > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
