[erlang-questions] dialyzer: the pattern ... can never match the type 100

Joel Reymont joelr1@REDACTED
Fri Oct 3 15:53:34 CEST 2008

On Oct 3, 2008, at 2:52 PM, Niclas Eklund wrote:

> new_side_pot(#side_pot{} = Pot) ->

Thank you Niclas!

What is the reason for doing it this way, though?

I have ...(X = #foo{}) all over the code but this is the only place  
where Dialyzer is complaining about it.


More information about the erlang-questions mailing list