@@ -122,6 +122,6 @@ extern class Array<T> {
/**
Returns an iterator of the Array values.
**/
- function iterator() : Iterator<Null<T>>;
+ function iterator() : Iterator<T>;
}
@@ -55,7 +55,7 @@
return new1(neko.NativeArray.sub(this.__a,0,this.length),this.length);
- public function iterator() : Iterator<Null<T>> {
+ public function iterator() : Iterator<T> {
return untyped {
a : this,
p : 0,