Skip to content

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

Merged
ileitch merged 1 commit into
peripheryapp:masterfrom
jszumski:fix-pre-post-infix-operators
Feb 14, 2025
Merged

Mark prefix, postfix, and infix operators as function results#878
ileitch merged 1 commit into
peripheryapp:masterfrom
jszumski:fix-pre-post-infix-operators

Conversation

@jszumski
Copy link
Copy Markdown
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
@jszumski jszumski deleted the fix-pre-post-infix-operators branch February 14, 2025 15:34
rofle100lvl pushed a commit to rofle100lvl/periphery that referenced this pull request Mar 30, 2025
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