Skip to content

Restrict the type of Match children #2

@ythecombinator

Description

@ythecombinator

Description

The idea is to ensure, in compile-time, that Match/Switch children are a subset of the supported matching expressions (e.g. With, When and Otherwise).

I have done research on this and it doesn't seem to be feasible as of now so it's likely that we'll stick with runtime checking.

Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions