diff options
author | Anthony Ramine <[email protected]> | 2014-02-04 18:59:51 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-04 00:16:59 +0100 |
commit | 1876d0d9e69159d278bc94d69ea0beb78903ad24 (patch) | |
tree | 3cec7a2059ab9fd3499eaa67b3da027e82af78a4 /lib/compiler | |
parent | a74e66a68f3b4ed590f928b4fd4f0808c6287a32 (diff) | |
download | otp-1876d0d9e69159d278bc94d69ea0beb78903ad24.tar.gz otp-1876d0d9e69159d278bc94d69ea0beb78903ad24.tar.bz2 otp-1876d0d9e69159d278bc94d69ea0beb78903ad24.zip |
Improve linting of map expressions
Map fields are put in their own function instead of being clauses of expr/3.
Also, invalid map construction expressions now emit one error per ':=' field,
at the location of said field instead of one for the whole expression,
furthermore, such warnings do not stop linting of their key and value
expressions anymore. Ill-formed maps constructions are now also properly
detected in guard expressions.
Diffstat (limited to 'lib/compiler')
0 files changed, 0 insertions, 0 deletions