Skip to content

withLatestFrom() build error with RxKotlin 2.4.0 #219

@GrahamBorland

Description

@GrahamBorland

I just updated RxKotlin from 2.3.0 to 2.4.0 and this code no longer compiles.

Observable.just(Unit)
    .withLatestFrom(this) { _, item: T -> item }

Now I have to write

Observable.just(Unit)
    .withLatestFrom(this, BiFunction<Unit, T, T> { _, item -> item })

Kotlin 1.3.41.

Possibly related to #196?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions