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 compile error caused by wildcard argument usage #130

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

hj56775
Copy link
Contributor

@hj56775 hj56775 commented Nov 15, 2023

I ran into a compile error "Tuple element cannot have two labels" with some wildcard arguments in enum cases during our TCA 1.4.0 migration.
I've sorted it out by setting firstName to nil in associatedValue.parameter for those wildcards.
If you've got a neater way to handle this, I'm all ears for suggestions!

Copy link
Member

@stephencelis stephencelis left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! Would love to address this edge case. Just one small change.

@stephencelis stephencelis merged commit ed7facd into pointfreeco:main Nov 15, 2023
5 checks passed
johankool pushed a commit to johankool/swift-case-paths that referenced this pull request Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants