<div dir="ltr"><div><div>Hello,<br><br></div>In order to make Disco compile with Erlang 17 without warnings, I added nowarn_deprecated_type to silence the warnings.  However, after doing so, dialyzer fails with the following error:<br>
<br>ddfs_master.erl:345: Attempt to test for inequality between a term of type 'false' and a term of opaque type 'false' | gb_set()<br><br><br>(<a href="https://github.com/discoproject/disco/blob/develop/master/src/ddfs/ddfs_master.erl#L345">https://github.com/discoproject/disco/blob/develop/master/src/ddfs/ddfs_master.erl#L345</a>)<br>
<br><br></div><div>Oddly enough, a simple s/gb_set()/gb_sets:gb_set()/g in this file fixes this issue but I do not want to do that since it breaks the builds for older versions (and that's the reason nowarn_deprecated_type has been added).<br>
<br></div><div>Any suggestions?  The error message itself does not make much sense to me.<br><br></div><div>Regards.<br></div></div>