Skip to content

Implement error states in parser #205

Description

@gerau

In #185 we used default values when we encountered error (for example, if we have an error in single expression, it return an unit type () ).
It shouldn't return default values, but recovering to special error state, so an analyzer can distinguish between them, and handle it correctly. Right now if we have we don't return "poisoned" tree, but if we implement this we could analyze even broken code.

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