[dialyzer] crash while formatting error message
RobinMorisset opened this issue · 0 comments
RobinMorisset commented
Describe the bug
Running dialyzer on the following code:
f(X = '原子') ->
<<X/utf8>>.
results in the following error message:
Runtime terminating during boot ({badarg,[{io_lib,format,[[_],[_]],[{_},{_}]},{dialyzer,format_warning,2,[{_},{_}]},{dialyzer_cl,-print_warnings/1-lc$^0/1-0-,2,[{_},{_}]},{dialyzer_cl,-print_warnings/1-lc$^0/1-0-,2,[{_},{_}]},{dialyzer_cl,print_warnings,1,[{_},{_}]},{lists,foreach_1,2,[{_},{_}]},{dialyzer_cl,return_value,2,[{_},{_}]},{dialyzer_cl,do_analysis,4,[{_},{_}]}]})
Affected versions
master