-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Promote deprecation levels for release 1.6.0 #3024
Conversation
message = "Use catch { e -> if (predicate(e)) emitAll(fallback) else throw e }", | ||
replaceWith = ReplaceWith("catch { e -> if (predicate(e)) emitAll(fallback) else throw e }") | ||
) | ||
public fun <T> Flow<T>.onErrorCollect( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one was @FlowPreview
|
message = "Use (Throwable) -> Boolean functional type", | ||
replaceWith = ReplaceWith("(Throwable) -> Boolean") | ||
) | ||
public typealias ExceptionPredicate = (Throwable) -> Boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do I understand correctly that type aliases don't leave a trace in target binaries, so it doesn't make sense to make them hidden, as they would simply become useless?
Right. Also, it used to be |
No description provided.