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

Fix linter checking for a tuple unpack in a formal #26378

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

jabraham17
Copy link
Member

@jabraham17 jabraham17 commented Dec 9, 2024

Fixes an issue where the linter was warning for an UnusedTupleUnpack on proc foo((x, y)). Fixing this issue then uncovered a few issues in the handling of tuple unpacks in UnusedFormal, also fixed in this PR.

Tested by running start_test test/chplcheck

[Reviewed by @DanilaFe]

Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
Signed-off-by: Jade Abraham <[email protected]>
@jabraham17 jabraham17 merged commit 3fe698d into chapel-lang:main Dec 16, 2024
8 checks passed
@jabraham17 jabraham17 deleted the fix-unused-tuple branch December 16, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants