[Pharo-project] Issue 3761 in pharo: overlappingPairsCollect: fails on OrderedCollections

pharo at googlecode.com pharo at googlecode.com
Fri Feb 25 21:23:27 CET 2011


Status: New
Owner: ----

New issue 3761 by edoua... at gmail.com: overlappingPairsCollect: fails on  
OrderedCollections
http://code.google.com/p/pharo/issues/detail?id=3761

Pharo image: Pharo
Pharo core version: Pharo1.2rc2 #12336
Virtual machine used: (one-click image with cog)

Steps to reproduce:

collection := OrderedCollection withAll: #(1 2 3 4 5).
collection overlappingPairsCollect: [ :a :b | a + b ].

raises exception: 'attempt to index non-existent element in an ordered  
collection'






More information about the Pharo-project mailing list