Prechádzať zdrojové kódy

should also be removed here (ref #3947)

Nicolas Cannasse 10 rokov pred
rodič
commit
457e4d1a97
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      codegen.ml

+ 0 - 1
codegen.ml

@@ -606,7 +606,6 @@ let build_macro_type ctx pl p =
 	let path, field, args = (match pl with
 		| [TInst ({ cl_kind = KExpr (ECall (e,args),_) },_)]
 		| [TInst ({ cl_kind = KExpr (EArrayDecl [ECall (e,args),_],_) },_)] ->
-			ctx.com.warning ("haxe.macro.MacroType is deprecated, consider using @:genericBuild instead") p;
 			get_macro_path ctx e args p
 		| _ ->
 			error "MacroType requires a single expression call parameter" p