Skip to content

Commit 9098b74

Browse files
committed
Remove debug log
1 parent e56fa3f commit 9098b74

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

analysis/src/CompletionFrontEnd.ml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,16 +1143,6 @@ let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor
11431143
when Res_parsetree_viewer.is_tagged_template_literal innerExpr
11441144
&& expr.pexp_loc |> Loc.hasPos ~pos:posBeforeCursor
11451145
|| CompletionExpressions.isExprHole fieldExpr ->
1146-
if Debug.verbose () then (
1147-
let print_loc (loc : Location.t) : string =
1148-
Format.sprintf "(%d,%d:%d,%d)" loc.loc_start.pos_lnum
1149-
loc.loc_start.pos_cnum loc.loc_end.pos_lnum loc.loc_end.pos_cnum
1150-
in
1151-
Printast.expression 4 Format.std_formatter expr;
1152-
Format.printf "posBeforeCursor: %s, expr.pexp_loc: %s"
1153-
(Pos.toString posBeforeCursor)
1154-
(print_loc expr.pexp_loc);
1155-
print_endline "\nyow_yow");
11561146
exprToContextPath innerExpr
11571147
|> Option.iter (fun cpath ->
11581148
(* Determine the field name if present *)

0 commit comments

Comments
 (0)