Commit 9ebf221
authored
`collect` delegates to `FlowableCollectWithCollectorSingle`, which does
is not annotated to require a non-nullable type for its corresponding
type parameter and whose implementation works fine with a null
container.
This PR lets Kotlin code pass a `Collector<T, A, R>`, where `A` is
declared as `<A: Any?>`.
1 parent 9975460 commit 9ebf221
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20394 | 20394 | | |
20395 | 20395 | | |
20396 | 20396 | | |
20397 | | - | |
| 20397 | + | |
20398 | 20398 | | |
20399 | 20399 | | |
20400 | 20400 | | |
| |||
0 commit comments