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

Ignore argumentLabel when equal to parameterName #67

Merged
merged 1 commit into from
Jul 20, 2022

Conversation

francybiga
Copy link
Contributor

Declaring a function parameter with the same value for
argumentLabel and parameterSpec produces a warning in xcode (often
treated as error if the compiler setting is enabled). We should handle
this while emitting code and only adding the argumentLabel when its
value is different from parameterName

Screenshot 2022-07-18 at 10 07 02

Declaring a function parameter with the same value for
argumentLabel and parameterSpec produces a warning in xcode (often
treated as error if the compiler setting is enabled). We should handle
this while emitting code and only adding the argumentLabel when its
value is different from parameterName
@francybiga
Copy link
Contributor Author

How does it look @kdubb?

@kdubb kdubb merged commit e3acce7 into outfoxx:develop Jul 20, 2022
@andreacipriani
Copy link

Thanks for merging @kdubb!

@francybiga
Copy link
Contributor Author

Thank you @kdubb! 🙌🏻
Would you mind to make a new release to include this fix?

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.

None yet

3 participants