nitcc_runtime: use an Array instead of a List for the DephIterator
[nit.git] / lib / nitcc_runtime.nit
index e1aeb9a..ac75d8b 100644 (file)
@@ -419,7 +419,7 @@ end
 private class DephIterator
        super Iterator[Node]
 
-       var stack = new List[Iterator[nullable Node]]
+       var stack = new Array[Iterator[nullable Node]]
 
        init(i: Iterator[nullable Node]) is old_style_init do
                stack.push i