Skip to content

Commit f4e9f1d

Browse files
committed
add more exp
1 parent f43ef11 commit f4e9f1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

analysis/src/Hint.ml

+4-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,10 @@ let inlay ~path ~pos ~debug =
8888
pvb_expr =
8989
{
9090
pexp_desc =
91-
( Pexp_constant _ | Pexp_tuple _ | Pexp_record _ | Pexp_apply _
92-
| Pexp_match _ | Pexp_construct _ | Pexp_ifthenelse _ | Pexp_array _
93-
| Pexp_ident _ );
91+
( Pexp_constant _ | Pexp_tuple _ | Pexp_record _ | Pexp_variant _
92+
| Pexp_apply _ | Pexp_match _ | Pexp_construct _ | Pexp_ifthenelse _
93+
| Pexp_array _ | Pexp_ident _ | Pexp_try _ | Pexp_lazy _
94+
| Pexp_send _ | Pexp_field _ );
9495
};
9596
} ->
9697
hints := (vb.pvb_pat.ppat_loc, Type) :: !hints

0 commit comments

Comments
 (0)