Closed
Description
Seems like it's colliding with RegEx literal syntax. Any recommended workarounds? @stephencelis demonstrates use of initialiser here in Swift Forums:
-.pullback(state: \Struct.property, action: /Enum.case)
+.pullback(state: \Struct.property, action: CasePath(Enum.case))
Here's another workaround, based off Revised RegEx parsing behaviour:
-(\HomeState.route).appending(path: /HomeRoute.game).extract(from:)
+(\HomeState.route).appending(path: (/HomeRoute.game)).extract(from:)
Related discussion was in #72
PS Seems like neither workarounds are making Xcode 14 previews happy.