[squeak-dev] odd bug in Squeak 4.3, also in Pharo 1.3?...

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri Mar 2 12:55:22 UTC 2012


Le 2 mars 2012 13:24, Lawson English <lenglish5 at cox.net> a écrit :
> On 3/2/12 4:29 AM, Nicolas Cellier wrote:
>>
>> myNav := SystemNavigation default.
>> (myNav allMethodsWithSourceString: '"' matchCase: false) do:
>>     [:each| Transcript show: each asString ->  ( each  actualClass
>> commentsIn: each sourceString);cr ]
>
>
>
> Now I get the same error in the same place with Pharo 1.3 as I do in Squeak
> 4.3 though the error message is different:
>

Sure, I should have written Transcript print: ... ; cr; endEntry

Or Transcript show: each asString , ' => ' ,  ( each  actualClass
commentsIn: each sourceString) printString;cr

Nicolas

> MNU: CommentReference>>sourceString.
>
> So my original code mostly works with Squeak 4.3, but doesn't work at all
> with Pharo 1.3
>
> Your code has errors in the same place as mine does in Squeak 4.3, but at
> least it mostly works in Pharo 1.3 as well as Squeak 4.3.
>
>
> I'm pretty sure this isn't proper behavior, either way.
>
>
> Lawson
>
>
>
>
>
>
>


More information about the Squeak-dev mailing list