Explorar o código

fix for module caching

Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
af0170bc15
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      std/haxe/web/Dispatch.hx

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

@@ -376,6 +376,7 @@ class Dispatch {
 		switch( Context.getType("haxe.web.Dispatch") ) {
 		case TInst(c, _):
 			var c = c.get();
+			c.meta.remove("getParams");
 			c.meta.add("getParams",[{ expr : EConst(CString(str)), pos : c.pos }],c.pos);
 		default:
 		}