Skip to content

Commit 375dffb

Browse files
committed
Add example
1 parent f145cb4 commit 375dffb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

analysis/src/CompletionFrontEnd.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1156,7 +1156,7 @@ let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor
11561156
exprLoc = expr.pexp_loc;
11571157
}));
11581158
setFound ())
1159-
(*
1159+
(*
11601160
A dot completion for a tagged templated application with an ident.
11611161
Example:
11621162
sh`echo "meh"`.foo
@@ -1166,7 +1166,9 @@ let completionWithParser1 ~currentFile ~debug ~offset ~path ~posCursor
11661166
funct = {pexp_desc = Pexp_ident {txt = Lident "."; loc = _}};
11671167
args =
11681168
[
1169+
(* sh`echo "meh"` *)
11691170
(_, ({pexp_desc = Pexp_apply _} as innerExpr));
1171+
(* foo *)
11701172
(_, {pexp_desc = Pexp_ident {txt = Lident fieldName}});
11711173
];
11721174
}

0 commit comments

Comments
 (0)