Skip to content

Commit

Permalink
added @:noComplete to hide from completion
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Oct 5, 2012
1 parent a95526b commit 259f712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2301,7 +2301,7 @@ and type_expr ctx ?(need_val=true) (e,p) =
in
let use_methods = loop PMap.empty ctx.m.module_using in
let fields = PMap.fold (fun f acc -> PMap.add f.cf_name f acc) fields use_methods in
let fields = PMap.fold (fun f acc -> f :: acc) fields [] in
let fields = PMap.fold (fun f acc -> if has_meta ":noComplete" f.cf_meta then acc else f :: acc) fields [] in
let t = (if iscall then
match follow e.etype with
| TFun _ -> e.etype
Expand Down

0 comments on commit 259f712

Please sign in to comment.