<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>Let's say I have a function that does a bad thing, but I now it will actually return. I can use the `-dialyzer` module attribute to silence the warning about the particular function, but is there any way to convince dialyzer to ignore that warning and assume that the function will return (and consequently all other functions calling it will also return).</div><div><br></div><div>For example for the below module dialyzer still warns:</div><div>dt.erl:6: Function outer/0 has no local return<br></div><div><br></div><div>```</div><div><div>-module(dt).</div><div> -export([outer/0]).</div><div><br></div><div>-dialyzer({nowarn_function, inner/0}).</div><div><br></div><div>outer() -></div><div>    inner().</div><div><br></div><div>inner() -></div><div>    Dict = dict:new(),</div><div>    element(2, Dict).</div></div><div>```</div><div><br></div><div>(this is just an example, I dont want to decompose a dict)</div><div><br></div><div>thanks</div><div>Peter</div></div></div></div>