2
0
Nicolas Cannasse 14 жил өмнө
parent
commit
a5464084b6

+ 4 - 0
std/haxe/web/Dispatch.hx

@@ -134,7 +134,11 @@ class Dispatch {
 			if( v == null ) throw DEInvalidValue;
 			var cl = Type.resolveClass(c);
 			if( cl == null ) throw "assert";
+			#if spod_macro
+			return untyped cl.manager.unsafeGet(v, lock);
+			#else
 			return untyped cl.manager.get(v, lock);
+			#end
 		}
 	}