Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dialyzer] crash while formatting error message #7153

Closed
RobinMorisset opened this issue Apr 24, 2023 · 0 comments · Fixed by #7161
Closed

[dialyzer] crash while formatting error message #7153

RobinMorisset opened this issue Apr 24, 2023 · 0 comments · Fixed by #7161
Assignees
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM

Comments

@RobinMorisset
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants