Nicolas Cannasse 19 年之前
父节点
当前提交
bbc4e49880
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/Std.hx

+ 1 - 1
std/Std.hx

@@ -133,7 +133,7 @@ class Std {
 	public static function chr( x : Int ) : String {
 		return untyped
 		#if flash
-		String.fromCharCode(x);
+		String["fromCharCode"](x);
 		#else neko
 		{
 			var s = __dollar__smake(1);