[squeak-dev] Cog VM problem?

Raymond Asselin jgr.asselin at me.com
Thu May 14 23:55:38 UTC 2015


With this " true ifTrue:[^BorderStyle default]"  the problem is gone now. Thank but the source code is'nt too clear in my opinion and for what I understand this code shadow all the rest of the method.

I can't say that I understand what Marcel is saying. It is supposed to be a class and it is not but a symbol….That you can see it is a symbol not a class is magic for me…a symbol is precede by # is'nt it?

Be patient I will finish by understand….




> Le 2015-05-14 à 12:56, karl ramberg <karlramberg at gmail.com> a écrit :
> 
> Ah, ok
> I method 
> BorderedMorph>>borderSemtyle
> add this to top of method:
>     true ifTrue:[^BorderStyle default].
> 
> On Thu, May 14, 2015 at 6:12 PM, Raymond Asselin <jgr.asselin at me.com <mailto:jgr.asselin at me.com>> wrote:
> When I open image with an earlier VM everything is fine. Changing de method #width doesn't do anything.
> And I must select each small panel and do:  'start drawing again'.  So for now I will stuck to the previous VM. 
> Thank Karl for the suggestion.
> 
> 
>> Le 2015-05-14 à 11:26, karl ramberg <karlramberg at gmail.com <mailto:karlramberg at gmail.com>> a écrit :
>> 
>> You can test this workaround:
>> 
>> SimpleBorder>>width
>> 	^width ifNil:[0]
>> 
>> Open image with an earlier VM and modify that method so it does not return a nil.
>> 
>> Karl
>> 
> 
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150514/a18df3b7/attachment.htm


More information about the Squeak-dev mailing list