浏览代码

[js] inline Type.allEnums

Dan Korostelev 9 年之前
父节点
当前提交
0ef4e319c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/js/_std/Type.hx

+ 1 - 1
std/js/_std/Type.hx

@@ -208,7 +208,7 @@ enum ValueType {
 		return untyped e[1];
 	}
 
-	public static function allEnums<T>( e : Enum<T> ) : Array<T> {
+	public inline static function allEnums<T>( e : Enum<T> ) : Array<T> {
 		return untyped e.__empty_constructs__;
 	}