Return an empty string instead of no_file atom
This commit is contained in:
parent
141eea74fd
commit
34d363f166
@ -761,7 +761,10 @@ dbgloc(Env, Ann) ->
|
|||||||
case proplists:get_value(debug_info, Env#env.options, false) of
|
case proplists:get_value(debug_info, Env#env.options, false) of
|
||||||
false -> [];
|
false -> [];
|
||||||
true ->
|
true ->
|
||||||
File = proplists:get_value(file, Ann),
|
File = case proplists:get_value(file, Ann) of
|
||||||
|
no_file -> "";
|
||||||
|
F -> F
|
||||||
|
end,
|
||||||
Line = proplists:get_value(line, Ann),
|
Line = proplists:get_value(line, Ann),
|
||||||
Col = proplists:get_value(col, Ann),
|
Col = proplists:get_value(col, Ann),
|
||||||
case {Line, Col} of
|
case {Line, Col} of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user