Skip to content

Commit e8bc5cb

Browse files
Merge branch 'ocaml:main' into fix-11045-git-subfolders
2 parents 729be42 + a0a38c5 commit e8bc5cb

7 files changed

Lines changed: 522 additions & 500 deletions

File tree

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ If you're a contributor, please include your CHANGES entry in a file
55
`doc/changes/$PR_NAME.md`. At release time, it will be incoporated into the
66
changelog properly.
77

8+
3.18.2 (2024-04-29)
9+
-------------------
10+
11+
### Fixed
12+
13+
- fix compatibility with `ocaml.5.4.0` by avoiding shadowing sigwinch (@nojb,
14+
#11639)
15+
816
3.18.1 (2025-04-15)
917
-------------------
1018

otherlibs/stdune/src/user_message.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ let did_you_mean s ~candidates =
289289

290290
let to_string t =
291291
let full_error = Format.asprintf "%a" Pp.to_fmt (pp { t with loc = None }) in
292-
match String.drop_prefix ~prefix:"Error: " full_error with
292+
match String.drop_prefix ~prefix:"Error:" full_error with
293293
| None -> full_error
294294
| Some error -> String.trim error
295295
;;

otherlibs/stdune/src/user_message.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ val prerr : ?config:Print_config.t -> t -> unit
107107
val did_you_mean : string -> candidates:string list -> Style.t Pp.t list
108108

109109
(** Produces a plain text representation of the error message, without the
110-
"Error: " prefix. *)
110+
"Error:" prefix. *)
111111
val to_string : t -> string
112112

113113
(** Returns [true] if the message has an explicit location or one embedded in

0 commit comments

Comments
 (0)