Skip to content

Commit 9c7c123

Browse files
panglesdjonludlam
authored andcommitted
Compatibility
1 parent f9e016c commit 9c7c123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/model/reference.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ let expected ?(expect_paths = false) allowed location =
225225
expected_err (pp_hum_comma_separated Format.pp_print_string) allowed location
226226

227227
let parse_path whole_path_location p =
228-
let segs = String.split_on_char '/' p in
228+
let segs = Astring.String.cuts ~sep:"/" p in
229229
let check segs start =
230230
let _finish =
231231
List.fold_left

0 commit comments

Comments
 (0)