Skip to content

Syntax errors break XtextReconciler and outline #25

@jthomaskerr

Description

@jthomaskerr

Attempting to parse the following snippet

console.log 'a',

causes the CoffeeRewriter to (correctly) raise a syntax error. However, the rewriter then removes all tokens following that error (at CoffeeRewriter:868). This causes the reconciler to throw an error (with the same symptoms as #19).

Throwing out the entire remainder of the parse, while safe, does not appear to be the correct action here.

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