diff options
author | Björn Gustavsson <[email protected]> | 2019-01-30 15:19:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2019-01-30 15:25:14 +0100 |
commit | 5f9b6873499882d32280883edaa97d7d0f526035 (patch) | |
tree | e4fe879714f2835cf9d04ec52d51789187674da6 /erts/preloaded/src/erl_prim_loader.erl | |
parent | 71e7b98034ac00d9ee5428ed0602646e29851a29 (diff) | |
download | otp-5f9b6873499882d32280883edaa97d7d0f526035.tar.gz otp-5f9b6873499882d32280883edaa97d7d0f526035.tar.bz2 otp-5f9b6873499882d32280883edaa97d7d0f526035.zip |
Eliminate bogus warning when using tuple calls
There would be a bogus warning when compiling the following
function with the `tuple_calls` option:
dispatch(X) ->
(list_to_atom("prefix_" ++ atom_to_list(suffix))):doit(X).
The warning would look like this:
no_file: this expression will fail with a 'badarg' exception
https://bugs.erlang.org/browse/ERL-838
Diffstat (limited to 'erts/preloaded/src/erl_prim_loader.erl')
0 files changed, 0 insertions, 0 deletions