Skip to content

FS2 compilation failures due to change in signature of fromPromise #2271

@mpilquist

Description

@mpilquist

#2237 changes fromPromise to take an IO[Thenable[A]] instead of an IO[Promise[A]]. As a result, fs2-io has 61 compilation errors when using expressions of the form F.fromPromise(F.delay(somethingThatReturnsPromise)). The compiler doesn't know the infer somethingThatReturnsPromise as a Thenable[X].

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