Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix issue with shadow variables in Swift 5.4 #141

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

samisuteria
Copy link
Contributor

I was digging into why this PR failed in Swift 5.4: GraphQLSwift/Graphiti#134 and noticed that the issue was actually in package. This PR fixes a shadow variable issue:

Previous shadow copy into locations in the same scope! https://github.com/GraphQLSwift/Graphiti/actions/runs/8103942873/job/22211259878?pr=134#step:4:238

Also added 5.4 as part of the GitHub workflow.

Copy link
Member

@NeedleInAJayStack NeedleInAJayStack left a comment

Choose a reason for hiding this comment

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

Ah good catch. Thanks for the contribution!

@NeedleInAJayStack NeedleInAJayStack merged commit 3cf2dbc into GraphQLSwift:main Mar 21, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants