Quantcast
Viewing latest article 1
Browse Latest Browse All 2

Answer by legoscia for Dialyzer: Unknown Type re:mp()

re.erl does define the mp/0 type, but since there is no -export_type declaration (described in the docs here), it is not available to other modules. (See also this Github issue)

To make the type re:mp() available, you'd need to add -export_type there.


In fact, there is a pull request that does that. So most likely this will work correctly once Erlang/OTP 27 is released.


Viewing latest article 1
Browse Latest Browse All 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>