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 04e7d65 commit 663a0b5Copy full SHA for 663a0b5
hscript/Interp.hx
@@ -572,7 +572,8 @@ class Interp {
572
return (v : Array<Dynamic>).iterator();
573
if( v.iterator != null ) v = v.iterator();
574
#else
575
- try v = v.iterator() catch( e : Dynamic ) {};
+ #if (cpp) if ( v.iterator != null ) #end
576
+ try v = v.iterator() catch( e : Dynamic ) {};
577
#end
578
if( v.hasNext == null || v.next == null ) error(EInvalidIterator(v));
579
return v;
0 commit comments