Skip to content

Proposal: allow erased to be used in place of a definition #11736

Closed
@japgolly

Description

@japgolly

Instead of:

erased given CanThrow[Ex1] = ???

which is confusing to newbies and requires even experienced users to take a deep breath, what do you think about allowing the erased keyword itself to stand in as a fake definition? It would look like this:

erased given CanThrow[Ex1] = erased

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