Skip to content

Commit cb8eb3b

Browse files
committed
Update ProcessCmt.ml
1 parent 28d095c commit cb8eb3b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

analysis/src/ProcessCmt.ml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1077,6 +1077,9 @@ struct
10771077
(* TODO this scope tracking won't work for recursive *)
10781078
addScopeExtent expression.exp_loc
10791079
| Texp_function {arg_label; cases} -> (
1080+
(* TODO special treatment of labeled arguments:
1081+
the location of ~xx should not include ~
1082+
check if this should be done in the parser instead *)
10801083
match cases with
10811084
| [{c_lhs = {pat_desc = Tpat_var (ident, name)} as c_lhs; c_rhs}] ->
10821085
(match arg_label with

0 commit comments

Comments
 (0)