Explorar o código

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

Dan Korostelev %!s(int64=10) %!d(string=hai) anos
pai
achega
6e2786206b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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