I had some Dialyzer errors in my project coming from Maxwell, so I thought to give it a look.
I changed the type specs of conn.ex for Atom.t, Map.t, and Stream.t, which do not exist, to their original types.
Added type spec for error.ex.
Commented out unreachable code in adapter.ex, which according to Dialyzer will never be triggered.
I've been tracing the calls and I can confirm this is indeed not possible since all paths that lead to this are indeed already covered. Please double check this as well, and then remove :)
This is coming from the macro in builder.ex. As it is a macro it's really hard for me to track down the origins of the error. Basically what it is saying is that in the code an {:error, :message} is being thrown, while that should be {:error, :message, %Maxwell.Conn{}} , I could not find exactly where this happens so maybe you can have a look at that ?
Coverage decreased (-0.005%) to 98.545% when pulling d8db2f9ce3d23e856af778b5f7bedbd0fcb4d6a4 on smeevil:master into 43e61904b6833011aa79a3801b0709cc9dd3730d on zhongwencool:master.
Coverage remained the same at 98.551% when pulling 550b8486911de1dbdf26b3811d8885b6199e5499 on smeevil:master into 43e61904b6833011aa79a3801b0709cc9dd3730d on zhongwencool:master.
Coverage remained the same at 98.551% when pulling 13905bff6f86a9178ef8625d7da5575346ba1f45 on smeevil:master into 43e61904b6833011aa79a3801b0709cc9dd3730d on zhongwencool:master.
Coverage remained the same at 98.551% when pulling 13905bff6f86a9178ef8625d7da5575346ba1f45 on smeevil:master into 43e61904b6833011aa79a3801b0709cc9dd3730d on zhongwencool:master.
Hi there,
I had some Dialyzer errors in my project coming from Maxwell, so I thought to give it a look.
There is just one error left which is :
This is coming from the macro in builder.ex. As it is a macro it's really hard for me to track down the origins of the error. Basically what it is saying is that in the code an {:error, :message} is being thrown, while that should be {:error, :message, %Maxwell.Conn{}} , I could not find exactly where this happens so maybe you can have a look at that ?
Thanks for your time :) Gerard