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

kernel: fix broken spec for socket:recv/3 #9345

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

Conversation

brucify
Copy link
Contributor

@brucify brucify commented Jan 24, 2025

Like reported in #9180, the spec is also broken for socket:recv/3 and dialyzer currently complains by mistake. This PR fixes the spec.

To Reproduce

Run dialyzer on the following code:

socket:recv(Sock, 0, nowait)

Expected behavior
Call is not reported as violating the function specification.

Affected versions

27.2.1, 27.2

Copy link
Contributor

github-actions bot commented Jan 24, 2025

CT Test Results

    2 files     70 suites   1h 5m 38s ⏱️
1 556 tests 1 312 ✅ 244 💤 0 ❌
1 774 runs  1 497 ✅ 277 💤 0 ❌

Results for commit 8f4d9c8.

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

@rickard-green rickard-green added the team:PS Assigned to OTP team PS label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team:PS Assigned to OTP team PS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants