-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Pr/2230 #2287
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
Conversation
Now that I think about it it feels weird that That is of course a pretty major change in behavior. |
I've tried to align the implementation with our own |
…econd element is encountered
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.
🚀 Good to go
* Allow nullable types in Flow.firstOrNull * Allow nullable types in Flow.singleOrNull * Align Flow.single and Flow.singleOrNull with Kotlin standard library Fixes Kotlin#2229 Fixes Kotlin#2289 Co-authored-by: Nicklas Ansman Giertz <[email protected]>
* Allow nullable types in Flow.firstOrNull * Allow nullable types in Flow.singleOrNull * Align Flow.single and Flow.singleOrNull with Kotlin standard library Fixes Kotlin#2229 Fixes Kotlin#2289 Co-authored-by: Nicklas Ansman Giertz <[email protected]>
Editable version of #2230