Commit 95652a0d authored by Andrei Paskevich's avatar Andrei Paskevich

Python: capitalize_ascii is not supported in older versions of OCaml

parent e01493e5
......@@ -243,7 +243,7 @@ let read_channel env path file c =
Debug.dprintf debug "%s parsed successfully.@." file;
let file = Filename.basename file in
let file = Filename.chop_extension file in
let name = String.capitalize_ascii file in
let name = String.capitalize file in
Debug.dprintf debug "building module %s.@." name;
let inc = Mlw_typing.open_file env path in
inc.open_module (mk_id name);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment