The warning was first meant to be introduced on Elixir v1.3 but we have
delayed it because we had other warnings introduced in that version, such
as the xref ones, and we wanted to call attention to those.

On this version we have focused mainly on the variable warnings because we
understand they may be too frequent in some projects and also to avoid
distracting from more important ones, as you said. Given Mix only compiles
the files you changed, after the initial compilation, you should be able to
tackle warnings gradually.

If there are other warnings on this release besides the variable one that
you believe are getting in the way, we will gladly hold them for another
version so everyone is able to take their time to work on their projects.

I don't want to make warnings optional. As a consequence, we are trying
hard to not overload your projects with warnings on new versions. If that's
happening, we are glad to discuss better strategies (for example, we can
initially emit warnings only for variables inside functions) but overall
the warning is not going away.




*José Valim*
www.plataformatec.com.br
Skype: jv.ptec
Founder and Director of R&D

On Sat, Dec 3, 2016 at 7:32 PM, Steve Pallen <[email protected]> wrote:

> I'm dead against this warning. Sure, I've tripped over this issue a few
> times, but the benefit of this change is not worth the cost IMHO. I'll have
> to update all my commercial projects, my open source projects, and likely
> fork/submit PRs on some of my 3rd party dependencies. Until all that is
> done, I'll have numerous compiler warnings generated which is a distraction
> from noticing "real issues" warnings. Without the ability to disable
> specific warnings in the compiler, I think this warning is a terrible idea.
>
>
> ​
>>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/elixir-lang-core/ca61db5a-34d3-4bae-a263-
> 0cddafe6418e%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/ca61db5a-34d3-4bae-a263-0cddafe6418e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4LYf0WmX1N7W46uFYFc90f%2B4auEdh4aD-jTMGe-Q0x7fg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to