diff options
author | Björn Gustavsson <[email protected]> | 2015-11-19 12:13:21 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-11-20 14:24:57 +0100 |
commit | d4bb044cb5359c6d4bffe3efcb8256cf7199bdf3 (patch) | |
tree | 4cfb696d78ed911a9d04746a3b7c10a80bdb1950 /lib/erl_interface/info | |
parent | d4a3296ba3117315343057715ee428490e992ef0 (diff) | |
download | otp-d4bb044cb5359c6d4bffe3efcb8256cf7199bdf3.tar.gz otp-d4bb044cb5359c6d4bffe3efcb8256cf7199bdf3.tar.bz2 otp-d4bb044cb5359c6d4bffe3efcb8256cf7199bdf3.zip |
Fix missing filename and line number in warning
When the 'bin_opt_info' is given, warnings without filenames
and line numbers could sometimes be produced:
no_file: Warning: INFO: matching non-variables after
a previous clause matching a variable will prevent delayed
sub binary optimization
The reason for the missing information is that #c_alias{} records lack
location information. There are several ways to fix the problem. The
easiest seems to be to get the location information from the
code).
Noticed-by: José Valim
Diffstat (limited to 'lib/erl_interface/info')
0 files changed, 0 insertions, 0 deletions