Skip to content

Commit a8aea1c

Browse files
nasercaAlex Naser
authored andcommitted
Ensure all runtime_modules loaded before mapping their paths (#12287)
Co-authored-by: Alex Naser <alex.naser@remote.com>
1 parent a72f18b commit a8aea1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/elixir/lib/kernel/parallel_compiler.ex

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,8 @@ defmodule Kernel.ParallelCompiler do
271271
for {{:module, module}, _} <- result,
272272
do: module
273273

274+
:code.ensure_modules_loaded(runtime_modules)
275+
274276
runtime_modules =
275277
for module <- runtime_modules,
276278
path = :code.which(module),

0 commit comments

Comments
 (0)