We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891a085 commit a1b7f74Copy full SHA for a1b7f74
hscript/Interp.hx
@@ -624,7 +624,7 @@ class Interp {
624
#if ((flash && !flash9) || (php && !php7 && haxe_ver < '4.0.0'))
625
if ( v.iterator != null ) v = v.iterator();
626
#else
627
- try v = v.iterator() catch( e : Dynamic ) {};
+ if ( v.iterator != null ) try v = v.iterator() catch( e : Dynamic ) {};
628
#end
629
if( v.hasNext == null || v.next == null ) error(EInvalidIterator(v));
630
return v;
0 commit comments