diff options
author | Björn Gustavsson <[email protected]> | 2014-01-17 15:32:06 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-01-17 15:41:41 +0100 |
commit | 1dde3381ebb040095de87279e4f0e65927b7d824 (patch) | |
tree | 1d6d5d18bda85e16ec9a1a20fd190e1c7e116f5d /lib/compiler/src/cerl_trees.erl | |
parent | 65a580abaa082019b7f21df719f0b29b1eee3577 (diff) | |
download | otp-1dde3381ebb040095de87279e4f0e65927b7d824.tar.gz otp-1dde3381ebb040095de87279e4f0e65927b7d824.tar.bz2 otp-1dde3381ebb040095de87279e4f0e65927b7d824.zip |
compiler: Silence false warning for unmatched return in 'after' clause
Because 26940a8c0c lifted code in the 'after' clause of 'try' to
a new function, Dialyzer could produce false warnings for code such
as:
try
...
after
file:close(F)
end.
Mark the the call to the generated function as 'compiler_generated'
to silence the warning.
Diffstat (limited to 'lib/compiler/src/cerl_trees.erl')
0 files changed, 0 insertions, 0 deletions