diff options
author | Björn Gustavsson <[email protected]> | 2018-03-14 12:47:46 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2018-03-21 15:26:36 +0100 |
commit | eb5892eec6480a89e574e0d7bdd9126844f32108 (patch) | |
tree | 2db0a850d7e8e75964411c1ba9a138bd59693884 /lib/compiler/test/guard_SUITE_data | |
parent | cf3cbf0871832cb0808293842e5ae726edfc12e1 (diff) | |
download | otp-eb5892eec6480a89e574e0d7bdd9126844f32108.tar.gz otp-eb5892eec6480a89e574e0d7bdd9126844f32108.tar.bz2 otp-eb5892eec6480a89e574e0d7bdd9126844f32108.zip |
Point out the correct line in an exception for a bad generator
When a generator in a list comprehension was given some
other term than a list, the wrong line could be pointed
out in the exception. Here is an example:
bad_generator() ->
[I || %%This line would be pointed out.
I <- not_a_list].
https://bugs.erlang.org/browse/ERL-572
Diffstat (limited to 'lib/compiler/test/guard_SUITE_data')
0 files changed, 0 insertions, 0 deletions