Skip to content

Commit c7eb3e5

Browse files
committed
xref: do not limit compile-connected to runtime dependencies
1 parent 08e0aff commit c7eb3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/mix/lib/mix/tasks/xref.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ defmodule Mix.Tasks.Xref do
6161
because compile time dependencies are transitive.
6262
6363
Having compile time dependencies is a common feature in Elixir projects.
64-
However, the modules you depend on at compile-time must avoid runtime
65-
dependencies within the same project. You can understand all of the
64+
However, the modules you depend on at compile-time must avoid dependencies
65+
to modules within the same project. You can understand all of the
6666
dependencies of a given file by running:
6767
6868
$ mix xref trace lib/livebook_web.ex
@@ -75,7 +75,7 @@ defmodule Mix.Tasks.Xref do
7575
Elixir tracks three types of dependencies between modules: compile,
7676
exports, and runtime. If a module has a compile time dependency on
7777
another module, the caller module has to be recompiled whenever the
78-
callee changes (or any runtime dependency of the callee changes).
78+
callee changes (or any dependency of the callee changes).
7979
Let's see an example:
8080
8181
# lib/a.ex

0 commit comments

Comments
 (0)