summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PerisistentArrayList.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/runtime/PerisistentArrayList.cs')
-rw-r--r--src/cli/runtime/PerisistentArrayList.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/runtime/PerisistentArrayList.cs b/src/cli/runtime/PerisistentArrayList.cs
index 6753f4f1..3c71312a 100644
--- a/src/cli/runtime/PerisistentArrayList.cs
+++ b/src/cli/runtime/PerisistentArrayList.cs
@@ -33,7 +33,7 @@ PersistentArrayList(int size, Object defaultVal, float loadFactor, int count):ba
this._count = count;
}
-public PersistentArrayList(IArray init, int initialCapacity):base(init,initialCapacity){
+public PersistentArrayList(IPersistentArray init, int initialCapacity):base(init,initialCapacity){
_count = Math.Min(init.count(),initialCapacity);
}
@@ -44,7 +44,7 @@ override public Object nth(int i) {
return base.nth(i);
}
-override public IArray assocN(int i,Object val) {
+override public IPersistentArray assocN(int i,Object val) {
if(i >= _count)
throw new IndexOutOfRangeException();