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

Mark prefix, postfix, and infix operators as function results #878

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

jszumski
Copy link
Contributor

@jszumski jszumski commented Feb 7, 2025

Diagnoses an unused prefix, postfix, or infix operator as a function type:

- /some/path/Foo.swift:159:31: warning: '+=(_:_:)' is unused
+ /some/path/Foo.swift:159:31: warning: Function '+=(_:_:)' is unused

Fixes #877.

@ileitch ileitch merged commit f4777fd into peripheryapp:master Feb 14, 2025
8 checks passed
@jszumski jszumski deleted the fix-pre-post-infix-operators branch February 14, 2025 15:34
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.

Some operators are not marked as functions in output
2 participants