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

Add error explanation for js tech errors #114

Merged
merged 1 commit into from
Mar 15, 2016
Merged

Add error explanation for js tech errors #114

merged 1 commit into from
Mar 15, 2016

Conversation

doochik
Copy link
Contributor

@doochik doochik commented Mar 15, 2016

Example

Error: Unexpected token: name (foo) (line: 7437, col: 12, pos: 312592)
  7435 |        };
  7436 |    } else {
  7437 |        let foo = 'bar';
--------------------^
  7438 |        result = {
  7439 |            result: 0

@qfox
Copy link

qfox commented Mar 15, 2016

Oh, you! Code stealer!

@doochik
Copy link
Contributor Author

doochik commented Mar 15, 2016

Let's create framework for this! =)

Example
```
Error: Unexpected token: name (foo) (line: 7437, col: 12, pos: 312592)
  7435 |        };
  7436 |    } else {
  7437 |        let foo = 'bar';
--------------------^
  7438 |        result = {
  7439 |            result: 0
```
@qfox
Copy link

qfox commented Mar 15, 2016

Yeah, that's what I'm trying to do at https://github.com/violence/warnie ;-D

@doochik
Copy link
Contributor Author

doochik commented Mar 15, 2016

afaik, csso uses the same error explain code

doochik added a commit that referenced this pull request Mar 15, 2016
Add error explanation for js tech errors
@doochik doochik merged commit 8fc8a0c into master Mar 15, 2016
@doochik doochik deleted the error-explain branch March 15, 2016 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants