Re: [elixir-core:10285] [Proposal] `mix xref` improvements to detect problematic dependencies

2021-06-02 Thread Marc-André Lafortune
On Wed, Jun 2, 2021 at 1:31 PM José Valim wrote: > Would `--label transient-compile` filter out all dependencies that are >> either not compile time, or those that are compile-time but towards a sink >> with no dependency? >> E.g.: A => B (runtime) => C (compile) => D (anything): clearly `B =>

Re: [elixir-core:10284] [Proposal] `mix xref` improvements to detect problematic dependencies

2021-06-02 Thread José Valim
> > Would `--label transient-compile` filter out all dependencies that are > either not compile time, or those that are compile-time but towards a sink > with no dependency? > E.g.: A => B (runtime) => C (compile) => D (anything): clearly `B => C` > needs to be selected, but would `A => B` also

Re: [elixir-core:10284] [Proposal] `mix xref` improvements to detect problematic dependencies

2021-06-02 Thread Marc-André Lafortune
On Tuesday, 1 June 2021 at 04:28:48 UTC-4 José Valim wrote: > Those all look great! > > 1. Correct! We have recently changed --label compile so it considers > transient dependencies, before it would only consider direct ones. I can > think of two options here. One potential option here is to