浏览代码

[python] made python.Syntax.pythonCode return untyped so analyzer skips it.

Dan Korostelev 10 年之前
父节点
当前提交
6e2786206b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/python/Syntax.hx

+ 1 - 1
std/python/Syntax.hx

@@ -47,7 +47,7 @@ extern class Syntax {
 	@:noUsing
 	macro public static function pythonCode(b:ExprOf<String>, rest:Array<Expr>):Expr {
 		if (rest == null) rest = [];
-		return macro @:pos(Context.currentPos()) $self._pythonCode($b, $a{rest});
+		return macro @:pos(Context.currentPos()) untyped $self._pythonCode($b, $a{rest});
 	};
 
 	#if !macro