浏览代码

*** empty log message ***

Franco Ponticelli 16 年之前
父节点
当前提交
ced46e7c78
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      std/Reflect.hx

+ 1 - 1
std/Reflect.hx

@@ -56,7 +56,7 @@ class Reflect {
 	/**
 		Returns the field of an object, or null if [o] is not an object or doesn't have this field.
 	**/
-	public inline static function field( o : Dynamic, field : String ) : Dynamic untyped {
+	public #if !php inline #end static function field( o : Dynamic, field : String ) : Dynamic untyped {
 		#if flash9
 			return (o == null) ? null : o[field];
 		#elseif flash