Ver código fonte

fix haxe.web.Dispatch

Justin Donaldson 8 anos atrás
pai
commit
4cc2e75bc1
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      std/haxe/web/Dispatch.hx

+ 1 - 1
std/haxe/web/Dispatch.hx

@@ -416,7 +416,7 @@ class Dispatch {
 				var str = serialize(fields);
 				i.meta.add("dispatchConfig", [ { expr : EConst(CString(str)), pos : p } ], p);
 			}
-			return { expr : EUntyped ({ expr : ECall({ expr : EField(Context.makeExpr(Dispatch,p),"extractConfig"), pos : p },[obj]), pos : p }), pos : p };
+			return { expr : EUntyped ({ expr : ECall({ expr : EField(macro haxe.web.Dispatch,"extractConfig"), pos : p },[obj]), pos : p }), pos : p };
 		default:
 			Context.error("Configuration should be an anonymous object",p);
 		}