diff options
author | Magnus Lång <[email protected]> | 2016-07-04 14:12:07 +0200 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-07-04 15:35:05 +0200 |
commit | 784f845e2d1ec66b9505339b4b0e43d55c2d49a9 (patch) | |
tree | 40ee492ba9ecc4efdbfdca696b46c759c714e01f /lib/observer/info | |
parent | 1697cdea341e7d54e754e5f85e091c8bb68fb6c7 (diff) | |
download | otp-784f845e2d1ec66b9505339b4b0e43d55c2d49a9.tar.gz otp-784f845e2d1ec66b9505339b4b0e43d55c2d49a9.tar.bz2 otp-784f845e2d1ec66b9505339b4b0e43d55c2d49a9.zip |
dialyzer: Suppress warns on generated case stmts
Warnings about clauses that cannot match and are also compiler generated
are suppressed unless none of the clauses return.
This feature is useful for non-Erlang BEAM languages (such as Elixir)
that compile to Erlang and expand certain language constructs into case
statements. In that case, as long as the language construct can succeed,
these warnings are undesired and appear spurious to users that do not
check the Erlang code that their program expands into.
Thanks to José Valim for the test (slightly modified).
Diffstat (limited to 'lib/observer/info')
0 files changed, 0 insertions, 0 deletions