Skip to content

Use the type of the discriminant when inferring types for pattern arms #171

@pcwalton

Description

@pcwalton

alt (...) { case (none) { ... } } doesn't work because the compiler don't know what kind of "none" it is. This could be inferred from the discriminant.

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