We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello ✌️,
in /Sources/Operators/Internal/Timer.swift there are warnings in func addSubscriber<S: Subscriber>(_ sub: S) and internal func receive<S: Subscriber>(subscriber: S) like Generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in Swift 6.
Generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
This can very easily be fixed by renaming the Generics of the methods.
I would like to provide a PR to solve this.
Cheers, Andy
The text was updated successfully, but these errors were encountered:
CombineCommunity#165: Rename generic parameter from S to T to avoid s…
df29262
…hadowing generic parameter of outer scope
Successfully merging a pull request may close this issue.
Hello ✌️,
in /Sources/Operators/Internal/Timer.swift there are warnings in func addSubscriber<S: Subscriber>(_ sub: S) and internal func receive<S: Subscriber>(subscriber: S)
like
Generic parameter 'S' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
.This can very easily be fixed by renaming the Generics of the methods.
I would like to provide a PR to solve this.
Cheers,
Andy
The text was updated successfully, but these errors were encountered: