aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2018-11-21 05:55:12 +0100
committerBjörn Gustavsson <[email protected]>2018-11-21 06:10:16 +0100
commitdf0ce3328e4ac64c0bd82fb10a879d4f0732b261 (patch)
treec94dcb451c6ce1490641a70a5d41fa0b411e804e /erts
parentc0812d51fbb550d4a53df128e4ec322746f015ca (diff)
downloadotp-df0ce3328e4ac64c0bd82fb10a879d4f0732b261.tar.gz
otp-df0ce3328e4ac64c0bd82fb10a879d4f0732b261.tar.bz2
otp-df0ce3328e4ac64c0bd82fb10a879d4f0732b261.zip
Fix inadvertently suppressed warning for unused variable
An external fun could inadvertently suppress warnings for unused variables, such as in this example: bug() -> BugVar = foo(), if true -> fun m:f/1 end. There would be no warning that `BugVar` was unused. The bug was introduced in ff432e262e652, which was the commit that extended external funs to allow variables. https://bugs.erlang.org/browse/ERL-762
Diffstat (limited to 'erts')
0 files changed, 0 insertions, 0 deletions