Skip to content

Commit eae4abc

Browse files
authored
[interpreter] Remove use of physical equality on characters (#1396)
1 parent 25ffaea commit eae4abc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: interpreter/exec/int.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ struct
284284

285285
let of_string_u s =
286286
let n = of_string s in
287-
require (s.[0] != '+' && s.[0] != '-');
287+
require (s.[0] <> '+' && s.[0] <> '-');
288288
n
289289

290290
(* String conversion that groups digits for readability *)

0 commit comments

Comments
 (0)