You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original reporter: fishcakez
Affected versions: OTP-18.3, OTP-18.2, OTP-18.1, OTP-18.0, OTP-19.0, OTP-19.1
Fixed in version: OTP-19.2
Component: dialyzer
Migrated from: https://bugs.erlang.org/browse/ERL-283
If a dialyzer module attribute references an undefined (local) function an error tuple is thrown but no caught. This leads to a `nocatch` error and not the intended "clean" error:
{code:erlang}
{{nocatch,{error," Unknown function undef/0 in line dial.erl:3"}},
[{dialyzer_utils,check_fa_list1,3,[{file,"dialyzer_utils.erl"},{line,748}]},
{dialyzer_utils,get_func_suppressions,2,
[{file,"dialyzer_utils.erl"},{line,568}]},
{dialyzer_utils,get_fun_meta_info,3,
[{file,"dialyzer_utils.erl"},{line,521}]},
{dialyzer_analysis_callgraph,compile_common,7,
[{file,"dialyzer_analysis_callgraph.erl"},
{line,410}]},
{dialyzer_worker,loop,2,[{file,"dialyzer_worker.erl"},{line,93}]}]}
{code}
The text was updated successfully, but these errors were encountered:
Original reporter:
fishcakez
Affected versions:
OTP-18.3
,OTP-18.2
,OTP-18.1
,OTP-18.0
,OTP-19.0
,OTP-19.1
Fixed in version:
OTP-19.2
Component:
dialyzer
Migrated from: https://bugs.erlang.org/browse/ERL-283
The text was updated successfully, but these errors were encountered: