is it possible to make bastract type an iterator?

22 views
Skip to first unread message

Alexander Kuzmenko

unread,
Nov 3, 2014, 4:14:45 PM11/3/14
to haxe...@googlegroups.com
I'm trying to use abstract type as iterator. My abstract unifies Iterator<T> but compiler fails to swallow it: http://try.haxe.org/#D4aF8
Am i missing something?

Andy Li

unread,
Nov 3, 2014, 4:29:45 PM11/3/14
to haxe...@googlegroups.com
Looks like a bug. Please open an issue at github.

Best,
Andy

On Tue, Nov 4, 2014 at 5:14 AM, Alexander Kuzmenko <al...@stablex.ru> wrote:
I'm trying to use abstract type as iterator. My abstract unifies Iterator<T> but compiler fails to swallow it: http://try.haxe.org/#D4aF8
Am i missing something?

--
To post to this group haxe...@googlegroups.com
http://groups.google.com/group/haxelang?hl=en
---
You received this message because you are subscribed to the Google Groups "Haxe" group.
For more options, visit https://groups.google.com/d/optout.

Alexander Kuzmenko

unread,
Nov 3, 2014, 4:36:42 PM11/3/14
to haxe...@googlegroups.com
Done: https://github.com/HaxeFoundation/haxe/issues/3539

вторник, 4 ноября 2014 г., 0:29:45 UTC+3 пользователь Andy Li написал:
Reply all
Reply to author
Forward
0 new messages