You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! I noticed that we don't actually have test coverage for this case, and in the process of adding test coverage for it, it revealed that the rule—and a few others—were written incorrect to support unit testing anyway. So this became a whole... thing.
I'll do a targeted fix for this specific issue and then fix the other underlying issues with the tests separately, since it might have broader-ranging impact, and I can cherry-pick the specific fix into a 509 dot release.
…methods.
This was mistakenly broken during a refactor and we didn't have test coverage
for it. We didn't have test coverage for it because the tests behave
differently than the rule does when executed in the whole pipeline, so we
need to fix that too. I'm going to do that in a separate PR, because it
might have knock-on effects elsewhere.
Fixesswiftlang#651.
I recently used Homebrew to upgrade to
swift-format 509.0.0
.The behaviour of the
AllPublicDeclarationsHaveDocumentation
rule has changed:I'm not sure if this was intentional or not - there doesn't seem to be any mention in the release notes.
The behavioural change seems to have happened in #609
AllPublicDeclarationsHaveDocumentation.swift
now contains:Whereas previously it contained a guard that
modifiers
does not containoverride
:The text was updated successfully, but these errors were encountered: