Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kikofernandez
Copy link
Contributor

Re-enables overlapping contracts on OTP, and fixes type specs that overlap domains whenever possible.
Some of the overlapping contracts may go away once nominal types come in.

@kikofernandez kikofernandez requested a review from bmk October 24, 2024 19:54
@github-actions
Copy link
Contributor

github-actions bot commented Oct 24, 2024

CT Test Results

    6 files    164 suites   2h 31m 28s ⏱️
2 968 tests 2 653 ✅ 315 💤 0 ❌
3 748 runs  3 276 ✅ 472 💤 0 ❌

Results for commit cfa654d.

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

@kikofernandez kikofernandez added team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI bug Issue is reported as a bug labels Oct 24, 2024
@kikofernandez kikofernandez self-assigned this Oct 24, 2024
@kikofernandez kikofernandez requested a review from bjorng October 24, 2024 19:57
Copy link
Contributor

@garazdawi garazdawi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, fixes #8810

@garazdawi garazdawi linked an issue Oct 25, 2024 that may be closed by this pull request
@kikofernandez kikofernandez linked an issue Oct 25, 2024 that may be closed by this pull request
@ilya-klyuchnikov
Copy link
Contributor

In the socket module, - it's better not to use _ (the same as dynamic()).
Using _ (which is the same as term()) breaks type-checking call sites with eqwalizer in most cases.

Copy link
Contributor

@bjorng bjorng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@kikofernandez kikofernandez force-pushed the kiko/dialyzer-overlapping-domains/OTP-19310/GH-8810 branch from c8f5225 to cfa654d Compare October 28, 2024 09:46
@kikofernandez kikofernandez force-pushed the kiko/dialyzer-overlapping-domains/OTP-19310/GH-8810 branch from 6e3994b to 68f15ec Compare November 6, 2024 09:52
@kikofernandez kikofernandez changed the base branch from master to maint November 7, 2024 08:43
@kikofernandez kikofernandez merged commit 6e53c3e into erlang:maint Nov 7, 2024
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 testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dialyzer: -Woverlapping_contract command line option is broken Specs in OTP 27 with overlapping domains

5 participants