<div dir="ltr">I have a strange dialyzer problem, I have this code<div><br></div><div><div><font face="monospace, monospace">                  case convert_map_to_record(MapId, UserId, ClientId, Terms) of</font></div><div><font face="monospace, monospace" style="background-color:rgb(234,153,153)">                      {ok, MapRecord} -></font></div><div><font face="monospace, monospace">                          %....</font></div><div><font face="monospace, monospace">                          {true, ReqData1, MapRecord};</font></div><div><font face="monospace, monospace">                      {error, Error} -></font></div><div><font face="monospace, monospace">                          lager:error("Error ~p", [Error]),</font></div><div><font face="monospace, monospace">                          {{error, 405}, ReqData, State}</font></div><div><font face="monospace, monospace">                  end</font></div><div><br></div><div>and dialyzer is saying this</div><div><br></div><div><div><font face="monospace, monospace">_build/default/lib/frontend/src/wm_map.erl</font></div><div><font face="monospace, monospace"> 100: The pattern {'ok', MapRecord} can never match the type {'error',_}</font></div></div><div><br></div><div>With what is line 100 being the line with the red background, what is strange is that that the error case is covered in the case statement</div><div><br></div><div>Zach</div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Zach Kessin</div><div><span style="font-size:12.8px"><a href="http://yourcrm.link/?utm_source=email%20signature&utm_medium=email&utm_campaign=passive" target="_blank">Your CRM Link</a></span></div><div><span style="font-size:12.8px">Twitter: </span><a href="https://twitter.com/zkessin" style="font-size:12.8px" target="_blank">@zkessin</a><br></div><div>Skype: zachkessin<br></div></div></div></div></div></div></div>
</div></div><div hspace="streak-pt-mark" style="max-height:1px"><img style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aemtlc3NpbkBnbWFpbC5jb20%3D&type=zerocontent&guid=6b27e679-4a69-47c5-93db-637bc6ad1a86"><font color="#ffffff" size="1">ᐧ</font></div>