diff options
author | Kostis Sagonas <[email protected]> | 2011-01-30 20:34:48 +0200 |
---|---|---|
committer | Niclas Axelsson <[email protected]> | 2011-01-31 16:34:10 +0100 |
commit | 2697ce88a724423905e264fedd304bb703a50689 (patch) | |
tree | 1ac216ed8d6538dfeb97c72bee4da371a667095e /make | |
parent | faef041a446314bb228e0e8c88a09241df2798f1 (diff) | |
download | otp-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 'make')
0 files changed, 0 insertions, 0 deletions