diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-04-30 15:07:48 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-05-02 12:23:22 +0200 |
commit | 8f31e06634f06152a85fa6579879907bdc4b6a54 (patch) | |
tree | 31bd7f128051f6996a51902a04511eccd8f54c43 /lib/stdlib/test/erl_lint_SUITE.erl | |
parent | 06fe4914224a7172a60d318e15885841981b746d (diff) | |
download | otp-8f31e06634f06152a85fa6579879907bdc4b6a54.tar.gz otp-8f31e06634f06152a85fa6579879907bdc4b6a54.tar.bz2 otp-8f31e06634f06152a85fa6579879907bdc4b6a54.zip |
stdlib: Fix linting of map key variables
Map keys cannot be bound and then used in parallel matching.
Example:
#{ K := V } = #{ k := K } = M.
This is illegal if 'K' is not already bound.
Diffstat (limited to 'lib/stdlib/test/erl_lint_SUITE.erl')
0 files changed, 0 insertions, 0 deletions