Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

append code frame on parse error #418

Merged
merged 1 commit into from
Nov 17, 2016
Merged

append code frame on parse error #418

merged 1 commit into from
Nov 17, 2016

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Oct 28, 2016

After seeing eslint/eslint#7437,

I noticed that parser errors didn't have a codeframe either so figured we could add it there too? Just an idea and does change the error messages of course then

screen shot 2016-10-28 at 5 33 11 pm

screen shot 2016-10-28 at 5 32 58 pm

- [ ] fix the tests

@danez
Copy link
Member

danez commented Nov 17, 2016

👍

@hzoo hzoo merged commit 2d587d6 into master Nov 17, 2016
@hzoo hzoo deleted the code-frame-on-parse-error branch November 17, 2016 23:05
nicolo-ribaudo pushed a commit to babel/babel that referenced this pull request Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants