Skip to content

Recovery needs to alter the layout stack #34

Open
@natefaubion

Description

@natefaubion

Recovery is somewhat terrible right now, and may actually produce worse errors in some cases because it is not attempting to recover the layout stack, it's only eating tokens. If the error pertains to a delimiter that affects the layout stack (such as a missing closing paren), then lack of layout stack recovery effectively means any attempt to resume from a recovered parse will still fail because the layout context is essentially poisoned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions