@@ -463,8 +463,8 @@ public struct Reducer<State, Action, Environment> {
463
463
action toLocalAction: CasePath < GlobalAction , Action > ,
464
464
environment toLocalEnvironment: @escaping ( GlobalEnvironment ) -> Environment ,
465
465
breakpointOnNil: Bool = true ,
466
- _ file: StaticString = #fileID,
467
- _ line: UInt = #line
466
+ file: StaticString = #fileID,
467
+ line: UInt = #line
468
468
) -> Reducer < GlobalState , GlobalAction , GlobalEnvironment > {
469
469
. init { globalState, globalAction, globalEnvironment in
470
470
guard let localAction = toLocalAction. extract ( from: globalAction) else { return . none }
@@ -672,8 +672,8 @@ public struct Reducer<State, Action, Environment> {
672
672
/// - Returns: A reducer that works on optional state.
673
673
public func optional(
674
674
breakpointOnNil: Bool = true ,
675
- _ file: StaticString = #fileID,
676
- _ line: UInt = #line
675
+ file: StaticString = #fileID,
676
+ line: UInt = #line
677
677
) -> Reducer <
678
678
State ? , Action , Environment
679
679
> {
@@ -758,9 +758,8 @@ public struct Reducer<State, Action, Environment> {
758
758
action toLocalAction: CasePath < GlobalAction , ( ID , Action ) > ,
759
759
environment toLocalEnvironment: @escaping ( GlobalEnvironment ) -> Environment ,
760
760
breakpointOnNil: Bool = true ,
761
- _ file: StaticString = #fileID,
762
- _ line: UInt = #line
763
-
761
+ file: StaticString = #fileID,
762
+ line: UInt = #line
764
763
) -> Reducer < GlobalState , GlobalAction , GlobalEnvironment > {
765
764
. init { globalState, globalAction, globalEnvironment in
766
765
guard let ( id, localAction) = toLocalAction. extract ( from: globalAction) else { return . none }
@@ -830,8 +829,8 @@ public struct Reducer<State, Action, Environment> {
830
829
action toLocalAction: CasePath < GlobalAction , ( Key , Action ) > ,
831
830
environment toLocalEnvironment: @escaping ( GlobalEnvironment ) -> Environment ,
832
831
breakpointOnNil: Bool = true ,
833
- _ file: StaticString = #fileID,
834
- _ line: UInt = #line
832
+ file: StaticString = #fileID,
833
+ line: UInt = #line
835
834
) -> Reducer < GlobalState , GlobalAction , GlobalEnvironment > {
836
835
. init { globalState, globalAction, globalEnvironment in
837
836
guard let ( key, localAction) = toLocalAction. extract ( from: globalAction) else { return . none }
0 commit comments