Skip to content

Commit

Permalink
Add explicit self to fix compilation with Swift 5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
braker1nine committed Nov 9, 2022
1 parent b7d9131 commit f378d11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SignalProducer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,7 @@ extension SignalProducer {
return SignalProducer { observer, lifetime in
var retries = count

lifetime += flatMapError { error -> SignalProducer<Value, Error> in
lifetime += self.flatMapError { error -> SignalProducer<Value, Error> in
// The final attempt shouldn't defer the error if it fails
var producer = SignalProducer<Value, Error>(error: error)
if retries > 0 {
Expand Down

0 comments on commit f378d11

Please sign in to comment.