Browse Source

should also be removed here (ref #3947)

Nicolas Cannasse 10 years ago
parent
commit
457e4d1a97
1 changed files with 0 additions and 1 deletions
  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
 	let path, field, args = (match pl with
 		| [TInst ({ cl_kind = KExpr (ECall (e,args),_) },_)]
 		| [TInst ({ cl_kind = KExpr (ECall (e,args),_) },_)]
 		| [TInst ({ cl_kind = KExpr (EArrayDecl [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
 			get_macro_path ctx e args p
 		| _ ->
 		| _ ->
 			error "MacroType requires a single expression call parameter" p
 			error "MacroType requires a single expression call parameter" p