Skip to content

Commit

Permalink
Fix 4.02.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jonludlam committed Jun 2, 2023
1 parent f4a3797 commit a3eb0ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/loader/ident_env.cppo.ml
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,11 @@ module Path = struct
| Path.Pextra_ty _ -> assert false
#endif

let[@warning "-unused-rec-flag"] rec read_type env = function
#if OCAML_VERSION < (5,1,0)
let read_type env = function
#else
let rec read_type env = function
#endif
| Path.Pident id -> read_type_ident env id
#if OCAML_VERSION >= (4,8,0)
| Path.Pdot(p, s) -> `Dot(read_module env p, strip_hash s)
Expand Down

0 comments on commit a3eb0ec

Please sign in to comment.