--- a/Collection.st Wed Nov 30 10:25:34 2016 +0000
+++ b/Collection.st Sat Dec 03 10:09:23 2016 +0000
@@ -1616,16 +1616,16 @@
asArrayOfType:arrayClass
"return a new instance of arrayClass with the collection's elements"
- |anIntegerArray
+ |anArrayInstance
index "{ Class: SmallInteger }" |
- anIntegerArray := arrayClass new:(self size).
+ anArrayInstance := arrayClass new:(self size).
index := 1.
self do:[:each |
- anIntegerArray at:index put:each.
+ anArrayInstance at:index put:each.
index := index + 1
].
- ^ anIntegerArray
+ ^ anArrayInstance
!
asBag