Skip to content

Add option to remove pattern match failure assertions #80

Description

@natefaubion

In line with the main compiler, we insert pattern match failure assertions ($runtime.fail()) when there is no wildcard pattern. Since the pattern matching tree optimizer emits complete if/else trees, we should be able to omit the assertion when a branch covers all tags for a given ProperName.

This failure assertion is potentially useful for catching foreign errors sneaking through, so I think this could be an option like --int-tags.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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