Browse Source

[python] avoid "Void should be Dynamic" in Syntax.foreach

Dan Korostelev 11 years ago
parent
commit
d372af40c1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/python/Syntax.hx

+ 1 - 1
std/python/Syntax.hx

@@ -89,7 +89,7 @@ extern class Syntax {
 
 		return macro {
 			var $id = null;
-			$self._foreach($v, $it, $b);
+			$self._foreach($v, $it, cast $b);
 		}
 	}