Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax errors break XtextReconciler and outline #25

Open
jthomaskerr opened this issue Mar 25, 2014 · 1 comment
Open

Syntax errors break XtextReconciler and outline #25

jthomaskerr opened this issue Mar 25, 2014 · 1 comment

Comments

@jthomaskerr
Copy link

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.

@paulvi
Copy link
Member

paulvi commented Apr 21, 2014

Looking again. @jokester01au Can you point to the exact class, line number?

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

No branches or pull requests

2 participants