aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/cerl_inline.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-11-19 12:13:21 +0100
committerBjörn Gustavsson <[email protected]>2015-11-20 14:24:57 +0100
commitd4bb044cb5359c6d4bffe3efcb8256cf7199bdf3 (patch)
tree4cfb696d78ed911a9d04746a3b7c10a80bdb1950 /lib/compiler/src/cerl_inline.erl
parentd4a3296ba3117315343057715ee428490e992ef0 (diff)
downloadotp-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/compiler/src/cerl_inline.erl')
0 files changed, 0 insertions, 0 deletions