Skip to content

Commit eb66a2a

Browse files
committed
Fix formatting
1 parent c4cd98f commit eb66a2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/analysis/context.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ let inspect_pattern (type a) ~cursor ~lid (p : a Typedtree.general_pattern) =
9898
match p.pat_desc with
9999
| Tpat_any when Longident.last lid = "_" -> None
100100
| Tpat_var (_, str_loc, _, _, _) when Longident.last lid = str_loc.txt -> None
101-
| Tpat_alias (_, _, str_loc, _, _, _, _) when Longident.last lid = str_loc.txt ->
101+
| Tpat_alias (_, _, str_loc, _, _, _, _) when Longident.last lid = str_loc.txt
102+
->
102103
(* Assumption: if [Browse.enclosing] stopped on this node and not on the
103104
subpattern, then it must mean that the cursor is on the alias. *)
104105
None

0 commit comments

Comments
 (0)