* [php] don't expect IntIterator to have a field which does not exist (fixes #69) * cleanup * fix Interp.makeIterator for Haxe 3.4
This commit is contained in:
committed by
Nicolas Cannasse
parent
8463e99d13
commit
852fee170e
+1
-1
@@ -597,7 +597,7 @@ class Interp {
|
||||
}
|
||||
|
||||
function makeIterator( v : Dynamic ) : Iterator<Dynamic> {
|
||||
#if ((flash && !flash9) || php)
|
||||
#if ((flash && !flash9) || (php && !php7 && haxe_ver < '4.0.0'))
|
||||
if ( v.iterator != null ) v = v.iterator();
|
||||
#else
|
||||
try v = v.iterator() catch( e : Dynamic ) {};
|
||||
|
||||
Reference in New Issue
Block a user