浏览代码

[python] keep Std.is if we have a typed cast (closes #4310)

Simon Krajewski 10 年之前
父节点
当前提交
7203f158ce
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      std/python/_std/Std.hx

+ 1 - 0
std/python/_std/Std.hx

@@ -45,6 +45,7 @@ import python.Syntax;
 	}
 
 	@:access(python.Boot)
+	@:ifFeature("typed_cast")
 	public static function is( v : Dynamic, t : Dynamic ) : Bool {
 
 		if (v == null && t == null) {