aboutsummaryrefslogtreecommitdiffstats
path: root/otp_build
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-05-20 11:54:22 +0200
committerBjörn Gustavsson <[email protected]>2019-05-20 13:22:55 +0200
commitcabdef3b97c077119fe6f43538dbdd5cffe9dd91 (patch)
tree87a6fe405f4d1d6f7f4e0f0db3ea4dd34688e9bb /otp_build
parent6618ce7b6a621e92db72ea4f01f7d38553c8818c (diff)
downloadotp-cabdef3b97c077119fe6f43538dbdd5cffe9dd91.tar.gz
otp-cabdef3b97c077119fe6f43538dbdd5cffe9dd91.tar.bz2
otp-cabdef3b97c077119fe6f43538dbdd5cffe9dd91.zip
Fix non-terminating compilation
The compiler would not terminate while compiling the following code: foo(<<N:32>>, Tuple, NewValue) -> _ = element(N, Tuple), setelement(N, Tuple, NewValue). The type analysis pass would attempt to construct a huge list when attempting analyse the type of `Tuple` after the call to `setelement/3`. https://bugs.erlang.org/browse/ERL-948
Diffstat (limited to 'otp_build')
0 files changed, 0 insertions, 0 deletions