Skip to content

Commit

Permalink
should also be removed here (ref HaxeFoundation#3947)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Mar 2, 2015
1 parent b7d9572 commit 457e4d1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion codegen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 457e4d1

Please sign in to comment.