Skip to content

Handle thrown exception outside the monadic context of Task #500

Open
@halotukozak

Description

@halotukozak

Task(sth).map(throw Error()) doesn't lead to failing the Task, because throw Error() has Nothing type, so it has also lambda type. If such a check is possible, it should be included in commons-analyzer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions