aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2011-01-30 20:34:48 +0200
committerNiclas Axelsson <[email protected]>2011-01-31 16:34:10 +0100
commit2697ce88a724423905e264fedd304bb703a50689 (patch)
tree1ac216ed8d6538dfeb97c72bee4da371a667095e /lib/hipe/icode
parentfaef041a446314bb228e0e8c88a09241df2798f1 (diff)
downloadotp-2697ce88a724423905e264fedd304bb703a50689.tar.gz
otp-2697ce88a724423905e264fedd304bb703a50689.tar.bz2
otp-2697ce88a724423905e264fedd304bb703a50689.zip
Sanitize the specs of the code module
After the addition of unicode_binary() to the file:filename() type, dialyzer started complaining about erroneous or incomplete specs in some functions of the 'code' module. The culprit was hard-coded information in erl_bif_types for functions of this module, which were not updated. Since these functions have proper specs these days and code duplication (pun intended) is never a good idea, their type information was removed from erl_bif_types. While doing this, some erroneous comments were fixed in the code module and also made sure that the code now runs without dialyzer warnings even when the -Wunmatched_returns option is used. Some cleanups were applied to erl_bif_types too.
Diffstat (limited to 'lib/hipe/icode')
0 files changed, 0 insertions, 0 deletions