Skip to content

Commit

Permalink
feature fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Simn committed Sep 14, 2013
1 parent 1f3914c commit 1cc670d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dce.ml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ and expr dce e =
mark_t dce v.v_type;
) vl;
| TCall ({eexpr = TLocal ({v_name = "__define_feature__"})},[{eexpr = TConst (TString ft)};e]) ->
Common.add_feature dce.com ft;
check_feature dce ft;
expr dce e
(* keep toString method when the class is argument to Std.string or haxe.Log.trace *)
Expand Down

0 comments on commit 1cc670d

Please sign in to comment.