Skip to content

Commit a428fe8

Browse files
committed
Fix warning on 4.11
1 parent cfd078f commit a428fe8

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Changelog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Changes marked with '*' indicates a changes that breaks backward compatibility
99
[ ] Add namespaces to attributes
1010
[ ] Make sure List.map is tail recursive for list types
1111

12+
5.1.3
13+
[x] Remove dependency on stdio
14+
[x] Fix warning when compiling with 4.11
15+
1216
5.1.2 (2020-06-26)
1317
[x] Compatible with Base v0.14
1418

runtime/runtime.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ module Helper = struct
253253
The [map_f] function is called to produce the serialized result from a field_name, t association list.
254254
If [omit_default] is true, then default values are omitted from the output
255255
*)
256-
let of_record: type t a t. omit_default:bool -> t serialize_record -> (t, a, t) Record_out.t -> a =
256+
let of_record: type a t. omit_default:bool -> t serialize_record -> (t, a, t) Record_out.t -> a =
257257
fun ~omit_default serialize_record ->
258258
let rec inner: type a. (t, a, t) Record_out.t -> (string * t) list -> a =
259259
let open Record_out in

0 commit comments

Comments
 (0)