2
0
Alexander Kuzmenko 8 жил өмнө
parent
commit
5765073673

+ 1 - 1
extra/haxelib_src

@@ -1 +1 @@
-Subproject commit 031b0ea06102968a23b7f2c89c1810286264474c
+Subproject commit b0b6057d24cac4fc4464b259f269e6d80bd9bf9d

+ 5 - 1
std/php7/Boot.hx

@@ -493,9 +493,13 @@ class Boot {
 	/**
 		Make sure specified class is loaded
 	**/
-	static public inline function ensureLoaded(phpClassName:String ) : Bool {
+	static public inline function ensureLoaded( phpClassName:String ) : Bool {
 		return Global.class_exists(phpClassName) || Global.interface_exists(phpClassName);
 	}
+
+	static public function dynamicField( value:Dynamic, field:String ) : Dynamic {
+		throw "Not implemented";
+	}
 }
 
 

+ 9 - 0
tests/unit/src/unit/issues/Issue6211.hx

@@ -0,0 +1,9 @@
+package unit.issues;
+
+class Issue6211 extends unit.Test {
+
+    function test() {
+        var d:Dynamic = this;
+        t(Reflect.isFunction(d.test));
+    }
+}