File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ struct
161
161
(** The type of all messages used in your application. *)
162
162
type t =
163
163
(* ... *)
164
- | Cool of CoolLibrary.Reporter.t (** Embedding all messages from [CoolLibrary]. *)
164
+ | Cool of CoolLibrary.Reporter.Message. t (** Embedding all messages from [CoolLibrary]. *)
165
165
166
166
(** The default severity level of diagnostics with a particular message. *)
167
167
let default_severity : t -> Asai.Diagnostic.severity =
@@ -173,7 +173,7 @@ struct
173
173
let short_code : t -> string =
174
174
function
175
175
(* ... *)
176
- | Cool c -> CoolLibrary.Reporter.short_code c
176
+ | Cool c -> CoolLibrary.Reporter.Message. short_code c
177
177
178
178
(** It is recommended to add a helper function (such as [cool]) to save typing,
179
179
and this tutorial will assume you have done that. *)
You can’t perform that action at this time.
0 commit comments