Skip to content

Commit

Permalink
fix: missed cppo directive
Browse files Browse the repository at this point in the history
  • Loading branch information
anmonteiro committed Nov 3, 2024
1 parent 278ce2a commit c5ccec0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jscomp/core/record_attributes_check.cppo.ml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ let process_tag_name attrs =
};
] -> (
namespace_error ~loc txt;
match const.pconst_desc with
match
#if OCAML_VERSION >= (5, 3, 0)
const.pconst_desc
#else
const
#endif
with
| Pconst_string (s, _, _) -> st := Some s
| _ -> ())
| _ -> ());
Expand Down

0 comments on commit c5ccec0

Please sign in to comment.