Skip to content

fix(root_module): missing dependencies in the sandbox#13842

Open
anmonteiro wants to merge 1 commit intoocaml:mainfrom
anmonteiro:anmonteiro/fix-missing-deps-root-module
Open

fix(root_module): missing dependencies in the sandbox#13842
anmonteiro wants to merge 1 commit intoocaml:mainfrom
anmonteiro:anmonteiro/fix-missing-deps-root-module

Conversation

@anmonteiro
Copy link
Copy Markdown
Collaborator

No description provided.

| Impl, true ->
let dep_graph = Ml_kind.Dict.get (Compilation_context.dep_graphs cctx) Intf in
let module_deps = Dep_graph.deps_of dep_graph m in
other_intf_cm_files ~obj_dir ~cm_kind ~module_deps
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to do this work here? Why don't we add these modules when constructing the dep graph?

But setting that aside, I'm not sure why this helps because I thought we already took all transitive deps of the cmi's.

@anmonteiro anmonteiro force-pushed the anmonteiro/fix-missing-deps-root-module branch 7 times, most recently from f9f2699 to 8685b78 Compare March 22, 2026 22:27
Signed-off-by: Antonio Nuno Monteiro <anmonteiro@gmail.com>
@anmonteiro anmonteiro force-pushed the anmonteiro/fix-missing-deps-root-module branch from 8685b78 to f34d57b Compare March 22, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants