diff options
author | Anthony Ramine <[email protected]> | 2013-02-03 02:48:04 +0100 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2013-02-03 12:31:07 +0100 |
commit | 8784fdc88e32979ee2186500735ff4ada6190e15 (patch) | |
tree | b160e62428ec5604d0f48fc291b40b918d8b7470 /lib/compiler/test/compiler.cover | |
parent | 68b804f34d4ec420d86953e3f519179a40fbee8f (diff) | |
download | otp-8784fdc88e32979ee2186500735ff4ada6190e15.tar.gz otp-8784fdc88e32979ee2186500735ff4ada6190e15.tar.bz2 otp-8784fdc88e32979ee2186500735ff4ada6190e15.zip |
Forbid multiple values in Core Erlang sequence arguments
It does not make sense to return multiple values from a sequence
argument and the Kernel Erlang passes can't cope with it.
The linting pass now knows how to detect this kind of defunct code and
the Core code folding pass is changed to not generate code like that
when optimizing away multiple-valued lets in effect mode.
Reported-by: José Valim
Diffstat (limited to 'lib/compiler/test/compiler.cover')
0 files changed, 0 insertions, 0 deletions