Skip to content

erl_expand_records - add specs #10045

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ilya-klyuchnikov
Copy link
Contributor

@ilya-klyuchnikov ilya-klyuchnikov commented Jul 14, 2025

Add specs.

The module has 6 functions that operate both on expressions and patterns - translating expressions to expressions and patterns to patterns respectively. While logically those specs are correct, they go against dialyzer's view/requirement that overloaded contracts should not have overlapping domains, - suppressing such dialyzer errors explicitly.
(otherwise the specs would be too sloppy).

Copy link
Contributor

github-actions bot commented Jul 14, 2025

CT Test Results

    2 files     97 suites   1h 6m 15s ⏱️
2 209 tests 2 158 ✅ 51 💤 0 ❌
2 596 runs  2 540 ✅ 56 💤 0 ❌

Results for commit d48c0c3.

♻️ 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

@ilya-klyuchnikov ilya-klyuchnikov force-pushed the erl_expand_records_specs branch from 454a898 to ce4945c Compare July 14, 2025 21:06
@ilya-klyuchnikov ilya-klyuchnikov force-pushed the erl_expand_records_specs branch from ce4945c to d48c0c3 Compare July 14, 2025 21:54
@IngelaAndin IngelaAndin added the team:VM Assigned to OTP team VM label Jul 18, 2025
@jhogberg jhogberg added the stalled waiting for input by the Erlang/OTP team label Jul 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stalled waiting for input by the Erlang/OTP team team:VM Assigned to OTP team VM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants