-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signal.merge reported issue after migrating from ReactiveSwift from 4.0.0 -> 6.6.0 #838
Comments
@sandeep3090 We ran into a similar issue with our project going from Xcode 11 -> 12. This has to do with changes that Apple has made to type inference. For example, if you did something like: let isBaldBaby = Property.combineLatest(hasHair, age).map { hasHair, age in
return !hasHair && age < 3
} Then if you command click on let isBaldBaby: Property<Bool> = Property.combineLatest(hasHair, age).map { hasHair, age -> Bool in
return !hasHair && age < 3
} In your case, you'd want to add type annotations to |
@jagdeep-manik I am faced same issue now it's resolved. I hop in you case "age" signal have invalid mapping. So correct that or show me your code for hasHair or age. I will resolve that mapping. Correct signal look like let age = agesignal.completed.compactMap { somestateCancelled } |
due to migrating my existing application from Xcode-11 to Xcode-12. I am facing following issue issue in ReactiveSwift.
completed = Signal.merge(cancelled, finalized)
Provide suggestion how to resolve this issue to migrate ReactiveSwift from 4.0.0 -> 6.6.0
The text was updated successfully, but these errors were encountered: