[FIX] Sequence copyReplaceAll fix

Brian Rice water at tunes.org
Mon Jan 9 20:21:39 PST 2006


Thanks for catching this - it's a confusion of mine between Slate  
convention of returning Nil for none-found vs. 0 for none-found in  
Smalltalk (which has 1-based indexing). I'll have a new bootstrap  
with the fix on the website tonight.

On Jan 9, 2006, at 7:34 PM, Bill Sun wrote:

> Fix plus unit test for the copyReplaceAll:with: method
> in sequence.slate.
>
> Before:
> ==========
> Slate 1> addSlot: #s.
> lobby
> Slate 2> s: 'slate'.
> 'slate'
> Slate 3> s copyReplaceAll: 's' with: 'S'.
> 'slate'
> ==========
>
> After:
> ==========
> Slate 7> s copyReplaceAll: 's' with: 'S'.
> 'Slate'
> ==========
>
> -Bill

--
-Brian
http://tunes.org/~water/brice.vcf

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : /archives/slate/attachments/20060109/3238c916/PGP.pgp


More information about the Slate mailing list