[squeak-dev] Re: Last update broke browsers...

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Dec 28 19:18:23 UTC 2009


2009/12/28 Casimiro de Almeida Barreto <casimiro.barreto at gmail.com>:
> Em 28-12-2009 14:51, David T. Lewis escreveu:
>> (...)
>> My only remaining concern is that Casimiro de Almeida Barreto reports
>> similar sounding symptoms in his broken image. Hopefully it's just
>> a coincidence.
>>
>> Dave
>>
>>
>>
>>
> I fear the problem is really something returning nil where it should
> return Boolean...
>

The only candidate I see is:
    done := self perform: stopCondition.
If performing the stopCondition does not return a Boolean, you'll
trigger the Error...
But stopConditions are made of #endOfRun #embeddedObject #crossedX #cr
#tab #paddedSpace (#space not used in MultiCharacterScanner).
Plus #columnBreak.
And all these messages return true or false in MultiCharacterScanner
hierarchy, so I don't see any obvious reason...

Nicolas

> MultiDisplayScanner(Object)>>error: (NonBooleanReceiver: procceed for truth)
> [] in WorldState>>displayWorldSafely
> BlockClosure>>valueWithPossibleArgs:
> [] in BlockClosure>>ifError:
> BlockClosure>>valueWithPossibleArgs:
> [] in MethodContext(ContextPart)>>handleSignal:
> BlockClosure>>ensure:
> MethodContext(ContextPart)>>handleSignal:
> NonBooleanReceiver(Exception)>>signal
> NonBooleanReceiver(Exception)>>signal:
> MultiDisplayScanner(Object)>>mustBeBooleanIn:
> MultiDisplayScanner(Object)>>mustBeBoolean
> MultiDisplayScanner>>displayLine:offset:leftInRun:
> MultiNewParagraph>>displayOn:using:at:
> FormCanvas>>paragraph:bounds:color:
> TextMorphForEditView(TextMorph)>>drawOn:
> FormCanvas(Canvas)>>draw:
> FormCanvas(Canvas)>>drawMorph:
> [] in TextMorphForEditView(TextMorph)>>fullDrawOn:
> FromCanvas>>roundCornersOf:in:during:
>
>
>
>
>



More information about the Squeak-dev mailing list