aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-07-04 14:12:07 +0200
committerMagnus Lång <[email protected]>2016-07-04 15:35:05 +0200
commit784f845e2d1ec66b9505339b4b0e43d55c2d49a9 (patch)
tree40ee492ba9ecc4efdbfdca696b46c759c714e01f /erts
parent1697cdea341e7d54e754e5f85e091c8bb68fb6c7 (diff)
downloadotp-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 'erts')
0 files changed, 0 insertions, 0 deletions