Skip to content

Commit 2cc36bf

Browse files
authored
Merge pull request #3874 from BuckleScript/upgrade_ocaml_compiler_fix
update a fix in ocaml compiler patch, not looking up aggressive
2 parents c64f7ff + 60d802f commit 2cc36bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/4.02.3/unstable/js_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46604,7 +46604,7 @@ and lookup_module ~load lid env : Path.t =
4660446604
raise Recmodule
4660546605

4660646606
| Mty_alias (Path.Pident id) ->
46607-
if !Clflags.bs_only && not !Clflags.transparent_modules then
46607+
if !Clflags.bs_only && not !Clflags.transparent_modules && Ident.persistent id then
4660846608
find_pers_struct (Ident.name id) |> ignore
4660946609

4661046610
| _ -> ()

lib/4.02.3/whole_compiler.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34801,7 +34801,7 @@ and lookup_module ~load lid env : Path.t =
3480134801
raise Recmodule
3480234802

3480334803
| Mty_alias (Path.Pident id) ->
34804-
if !Clflags.bs_only && not !Clflags.transparent_modules then
34804+
if !Clflags.bs_only && not !Clflags.transparent_modules && Ident.persistent id then
3480534805
find_pers_struct (Ident.name id) |> ignore
3480634806

3480734807
| _ -> ()

ocaml

Submodule ocaml updated from 698e60f to 5a79f18

0 commit comments

Comments
 (0)