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

CoffeeScript support #2

Closed
ELLIOTTCABLE opened this issue May 8, 2014 · 8 comments
Closed

CoffeeScript support #2

ELLIOTTCABLE opened this issue May 8, 2014 · 8 comments

Comments

@ELLIOTTCABLE
Copy link

At the moment, CoffeeScript syntax errors get mildly mangled:

  Error: unexpected newline

  - /Users/ELLIOTTCABLE/Dropbox/Code/Paws/Paws.js/Source/additional.coffee:15:71: er
    ror: unexpected newline

  - @tput new (require('blessed').Tput) term: process.env['TERM']

  -                                                                       ^
    0m

It's not a huge deal, but it's mildly annoying to disable pretty-error if I need more information about a syntax error.

@AriaMinaei
Copy link
Owner

Yeah, this is annoying.

It's mainly because RenderKid tries to be smart when dealing with leading whitespace, but that's not needed in this specific case.

I'll have to think of something, but could you post a screenshot of your console with the mangled syntax error? I have to compare it with mine, as I'm not sure if whitespace management is the only problem here. That 0m in the last line is not supposed to be there.

image

@ELLIOTTCABLE
Copy link
Author

Ugh, I don't even remember what the exact code causing the error was; I regret not recording where I was before submitting this. /=

@AriaMinaei
Copy link
Owner

That's okay. This is probably gonna take some time, since I have to add a few features to RenderKid. But if this bug is annoying you too much, I'll work on it sooner, so, please let me know :)

@ELLIOTTCABLE
Copy link
Author

@AriaMinaei definitely back-burner stuff! (=

@AriaMinaei
Copy link
Owner

Okay then :)

@alexgorbatchev
Copy link
Collaborator

CoffeeScript support is always awesome :) especially when the module itself is in CS 💯

@ELLIOTTCABLE
Copy link
Author

Cool! If I ever run into weird stack-trace errors with CoffeeScript again, I'll come back here with more details. <3

I'm sorry I failed as a feedback-contributor! >':

@AriaMinaei
Copy link
Owner

@ELLIOTTCABLE: not at all :) I was supposed to fix this issue a long time ago.

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

No branches or pull requests

3 participants