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

Add ifLet SwiftUI integration warning #3089

Merged
merged 2 commits into from
May 14, 2024
Merged

Conversation

stephencelis
Copy link
Member

We recently added a warning when we detect that forEach wasn't integrated with a reducer when path elements are pushed or popped from the stack, and I realized that we could do similarly for ifLet during dismissal.

We recently added a warning when we detect that `forEach` wasn't
integrated with a reducer when path elements are pushed or popped from
the stack, and I realized that we could do similarly for `ifLet` during
dismissal.
Comment on lines +155 to +157
action: CaseKeyPath<Action, PresentationAction<ChildAction>>,
fileID: StaticString = #fileID,
line: UInt = #line
Copy link
Member

Choose a reason for hiding this comment

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

there's probably some DocC references to fix after this...

@stephencelis stephencelis merged commit e37353e into main May 14, 2024
7 checks passed
@stephencelis stephencelis deleted the missing-if-let-warning branch May 14, 2024 23:29
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

2 participants