浏览代码

fixed issue #1082

Simon Krajewski 13 年之前
父节点
当前提交
f6d4764f78
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      std/haxe/rtti/Meta.hx

+ 3 - 3
std/haxe/rtti/Meta.hx

@@ -42,8 +42,8 @@ class Meta {
 	}
 
 	/**
-		Returns the metadata that were declared for the given class fields or enum constructors
-	**/
+		Returns the metadata that were declared for the given class static fields
+	**/	
 	public static function getStatics( t : Dynamic ) : Dynamic<Dynamic<Array<Dynamic>>> {
 		#if (java || cs)
 		var meta : Dynamic = Reflect.field(t, "__meta__");
@@ -54,7 +54,7 @@ class Meta {
 	}
 
 	/**
-		Returns the metadata that were declared for the given class static fields
+		Returns the metadata that were declared for the given class fields or enum constructors
 	**/
 	public static function getFields( t : Dynamic ) : Dynamic<Dynamic<Array<Dynamic>>> {
 		#if (java || cs)