File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ let after_parsing_impl ppf outputprefix ast =
114
114
begin
115
115
if Js_config. get_diagnose () then
116
116
Format. fprintf Format. err_formatter " Building %s@." ! Location. input_name;
117
- let modulename = Compenv. module_of_filename ppf ! Location. input_name outputprefix in
117
+ let modulename = Ext_filename. module_name outputprefix in
118
118
Lam_compile_env. reset () ;
119
119
let env = Compmisc. initial_env() in
120
120
Env. set_unit_name modulename;
Original file line number Diff line number Diff line change @@ -123206,7 +123206,7 @@ let after_parsing_impl ppf outputprefix ast =
123206
123206
begin
123207
123207
if Js_config.get_diagnose () then
123208
123208
Format.fprintf Format.err_formatter "Building %s@." !Location.input_name;
123209
- let modulename = Compenv.module_of_filename ppf !Location.input_name outputprefix in
123209
+ let modulename = Ext_filename.module_name outputprefix in
123210
123210
Lam_compile_env.reset () ;
123211
123211
let env = Compmisc.initial_env() in
123212
123212
Env.set_unit_name modulename;
You can’t perform that action at this time.
0 commit comments