Skip to content

Commit

Permalink
fix deprecation warnings hidden by extlib
Browse files Browse the repository at this point in the history
(versions <= 1.7.8)
  • Loading branch information
ygrek committed Feb 3, 2021
1 parent 0114dfd commit 56a188a
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 60 deletions.
2 changes: 1 addition & 1 deletion compiler/extprotc.ml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ let () =
let global_opts = if !nolocs then ["locs", "false"] else [] in
let global_opts = match !fieldmod with
| "" -> global_opts
| s -> ("field-module", String.capitalize s) :: global_opts in
| s -> ("field-module", String.capitalize_ascii s) :: global_opts in
let global_opts = if !export_tys then ("export_tys", "") :: global_opts else global_opts in
let global_opts = ("assume_subsets", !assume_subsets) :: global_opts in
let () =
Expand Down
Loading

0 comments on commit 56a188a

Please sign in to comment.