Skip to content

Stray "_" in an Orc program causes a compiler crash #214

@arthurp

Description

@arthurp

The crash is due to the fact that the "_" is a placeholder for lambda expressions. However if the "_" appears without a surrounding "{ }" then the placeholder (Placeholder() instance) will make it all the way through to the translator and cause a MatchError.

The translator should catch this case and print a useful error.

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