diff options
author | Hans Bolinder <[email protected]> | 2011-03-22 13:57:30 +0100 |
---|---|---|
committer | Hans Bolinder <[email protected]> | 2011-03-22 13:57:30 +0100 |
commit | b420086b983b934b231323a682e676bf149e7bf8 (patch) | |
tree | da8d5a0aa06f4642de871762ebd5abd8b76d4a84 /lib/stdlib/src/filename.erl | |
parent | f861b4fdb3fd39e35f2951c53a73b30a98c7f973 (diff) | |
download | otp-b420086b983b934b231323a682e676bf149e7bf8.tar.gz otp-b420086b983b934b231323a682e676bf149e7bf8.tar.bz2 otp-b420086b983b934b231323a682e676bf149e7bf8.zip |
Fix a bug concerning record field types
The default value 'undefined' was added to records field types in such
a way that the result was not always a well-formed type. This bug has
been fixed.
---
erl_pp has since OTP-8150 formatted types so that 'undefined' was
removed from union types assigned to record fields. Since one cannot
distinguish between 'undefined' added by the parser or supplied by the
user, a side effect was that user supplied 'undefined's were also
removed.
Now the pretty printer shows 'undefined' even if added by the parser.
This is a minor issue.
Diffstat (limited to 'lib/stdlib/src/filename.erl')
0 files changed, 0 insertions, 0 deletions