Skip to content

Commit 9e0763f

Browse files
authored
Merge pull request #20 from OlivierNicole/fix_18
Fix issue #18
2 parents 19686ed + e38bdcc commit 9e0763f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bytecomp/translcore.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ let transl_macro target_phase rec_flag pat_expr_list inspect body =
15471547
let clos_lam =
15481548
Lprim (Pmakeblock (0, Immutable, None),
15491549
List.map (fun p ->
1550-
transl_path expr.exp_env p
1550+
transl_path (Env.with_phase 0 expr.exp_env) p
15511551
) (cs_paths @ macro_paths),
15521552
Location.none)
15531553
in

0 commit comments

Comments
 (0)