HaxeFoundation / HaxeFoundation/hxcpp
`Array.iterator()` should return an instance of `haxe.iterators.ArrayIterator`
Open
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
Since https://github.com/HaxeFoundation/haxe/commit/6b7db0254e0035a2380b985fee1ff1160fd23ef2 `Array.iterator()` should return an instance of `haxe.iterators.ArrayIterator`.
Currently this happens:
```haxe
trace(([1, 2, 3]:Iterable).iterator()); // Object
var it:ArrayIterator = cast ([1, 2, 3]:Iterable).iterator();
trace(it); // null
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.