aboutsummaryrefslogtreecommitdiffstats
path: root/lib/typer
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2016-06-14 17:06:24 +0200
committerHans Bolinder <[email protected]>2016-07-04 13:16:33 +0200
commit35b35e975bf744385484cafd76029163d67d5086 (patch)
tree7bde4edd7e4769e255244182cf11ea068ec61434 /lib/typer
parent30e1d890e37ffd57bfbcf043b3b982c781139418 (diff)
downloadotp-35b35e975bf744385484cafd76029163d67d5086.tar.gz
otp-35b35e975bf744385484cafd76029163d67d5086.tar.bz2
otp-35b35e975bf744385484cafd76029163d67d5086.zip
edoc: Provide a slightly better fix for unmatched returns
An attempt to shut off Dialyzer's unmatched return warnings made a change that simply ignored the return type of a function. It's arguably better to modify the code of this function to not return something "by accident." While at it, rewrote a slighty confusing use of a list comprehension without a generator to a case statement.
Diffstat (limited to 'lib/typer')
0 files changed, 0 insertions, 0 deletions