It was fixed in master https://github.com/elixir-lang/elixir/pull/5067
Michał. > On 05 Aug 2016, at 15:59, Илья Ткачук <llstrai...@gmail.com> wrote: > > Hi > On elixir 1.3.2 when I run task mix dialyzer ( use > https://github.com/jeremyjh/dialyxir package ) , it generates many warnings > like > > ``` > The variable _@1 can never match since previous clauses completely covered > the type #{'__struct__':='Elixir.MyStruct', _=>_} > ``` > > in case of using code like this > > ``` > %MyStruct{data | foo: bar} > ``` > > On OTP17 and OTP18 this package worked correctly. But after update to OTP19 > dialyzer gives many warnings like this.. How I can fix it? > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to elixir-lang-talk+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-talk/23783645-8c50-499e-adb4-116afafa50b1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/45975195-4601-4E78-94C3-B9288273ECF6%40muskala.eu. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail