Skip to content

asn1: Suppress unmatched returns warnings from Dialyzer #9846

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

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

bjorng
Copy link
Contributor

@bjorng bjorng commented May 19, 2025

A function generated by the ASN.1 compiler meant to suppress potential Dialyzer warnings could itself produce warnings when Dialyzer was run with the unmatched_return option.

Resolves #9841

A function generated by the ASN.1 compiler meant to suppress
potential Dialyzer warnings could itself produce warnings when
Dialyzer was run with the `unmatched_return` option.

Resolves erlang#9841
@bjorng bjorng self-assigned this May 19, 2025
@bjorng bjorng added the team:VM Assigned to OTP team VM label May 19, 2025
Copy link
Contributor

github-actions bot commented May 19, 2025

CT Test Results

  2 files   15 suites   16m 10s ⏱️
226 tests 224 ✅ 2 💤 0 ❌
247 runs  245 ✅ 2 💤 0 ❌

Results for commit 9c294eb.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@garazdawi garazdawi merged commit c3eb1ed into erlang:maint-26 Jun 16, 2025
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ASN.1 PER codegen emits code that fails dialyzer unmatched_returns check
2 participants