File tree Expand file tree Collapse file tree 2 files changed +14
-7
lines changed
Sources/ComposableArchitectureMacros Expand file tree Collapse file tree 2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -315,7 +315,8 @@ enum ObservableStateCase {
315315 """
316316 }
317317 case let . ifConfig( configs) :
318- return configs
318+ return
319+ configs
319320 . map {
320321 """
321322 \( $0. poundKeyword. text) \( $0. condition? . trimmedDescription ?? " " )
@@ -345,7 +346,8 @@ enum ObservableStateCase {
345346 """
346347 }
347348 case let . ifConfig( configs) :
348- return configs
349+ return
350+ configs
349351 . map {
350352 """
351353 \( $0. poundKeyword. text) \( $0. condition? . trimmedDescription ?? " " )
Original file line number Diff line number Diff line change @@ -475,7 +475,8 @@ private enum ReducerCase {
475475 }
476476
477477 case let . ifConfig( configs) :
478- return configs
478+ return
479+ configs
479480 . map {
480481 """
481482 \( $0. poundKeyword. text) \( $0. condition? . trimmedDescription ?? " " )
@@ -501,7 +502,8 @@ private enum ReducerCase {
501502 }
502503
503504 case let . ifConfig( configs) :
504- return configs
505+ return
506+ configs
505507 . map {
506508 let actionCaseDecls = $0. cases. compactMap ( \. actionCaseDecl)
507509 return """
@@ -554,7 +556,8 @@ private enum ReducerCase {
554556 return nil
555557 }
556558 case let . ifConfig( configs) :
557- return configs
559+ return
560+ configs
558561 . map {
559562 let reduceScopes = $0. cases. compactMap ( \. reducerScope)
560563 return """
@@ -583,7 +586,8 @@ private enum ReducerCase {
583586 return " case \( element. trimmedDescription) "
584587 }
585588 case let . ifConfig( configs) :
586- return configs
589+ return
590+ configs
587591 . map {
588592 """
589593 \( $0. poundKeyword. text) \( $0. condition? . trimmedDescription ?? " " )
@@ -624,7 +628,8 @@ private enum ReducerCase {
624628 """
625629 }
626630 case let . ifConfig( configs) :
627- return configs
631+ return
632+ configs
628633 . map {
629634 """
630635 \( $0. poundKeyword. text) \( $0. condition? . trimmedDescription ?? " " )
You can’t perform that action at this time.
0 commit comments