On Wed, May 6, 2009 at 4:26 AM, Alexandre Bergel <alexandre@bergel.eu>wrote:
Hi Mariano,
Actually it behaves as expected. I first defined String>>localize ^ self
_then_
String>>printOn: aStream "Print inside string quotes, doubling inbedded quotes."
self size < 100 ifTrue: [ self localize storeOn: aStream ] ifFalse: [ self storeOn: aStream ]
No freeze. I haven't tried to create printOn: before creating localize. It may freeze, but this is expected.
Ok then. Closed incident. I was my ignorance. Thanks for the test and help. Mariano
Alexandre
On 5 May 2009, at 19:29, Mariano Martinez Peck wrote:
On Tue, May 5, 2009 at 3:44 PM, Alexandre Bergel <alexandre@bergel.eu> wrote: The localize method is present neither in .dev image nor in a core.
No. I was creating it. However, what I reported happens with any selector name. Choose any other name instead of localize and you will get the same problem!
Thanks for the help!
Mariano
Alexandre
On 5 May 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 <alexandre@bergel.eu> 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 Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-
project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo- project
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project