Skip to content

[dialyzer] crash while formatting error message #7153

Closed
@RobinMorisset

Description

@RobinMorisset

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

Metadata

Metadata

Labels

bugIssue is reported as a bugteam:VMAssigned to OTP team VM

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions