but for this line
\npath: $store.scope(state: \\.path, action: \\.path)
I get the following error
\nCannot convert value of type 'Binding<Store<StackState<Root.Path.State>, ChildAction>?>' to expected argument type 'Binding<Store<StackState<State>, StackAction<State, Action>>>'\n
I am not able to determine why this error is happening. I believe I am following the SyncUps to a T but this error won't go away.
","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"Hi @captadoh, Swift is just pointing to the wrong line. Your problem is here:
\ncase let .analyze(meeting, syncUp):
That is not the proper way to destructure the .analyze
case.
-
I am following the SyncUps example and have landed on this
but for this line
I get the following error
I am not able to determine why this error is happening. I believe I am following the SyncUps to a T but this error won't go away. |
Beta Was this translation helpful? Give feedback.
-
Hi @captadoh, Swift is just pointing to the wrong line. Your problem is here: case let .analyze(meeting, syncUp): That is not the proper way to destructure the |
Beta Was this translation helpful? Give feedback.
Hi @captadoh, Swift is just pointing to the wrong line. Your problem is here:
That is not the proper way to destructure the
.analyze
case.