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

Source Maps: Reference errors in 'name only expressions' are broken #3672

Closed
carlsmith opened this issue Oct 8, 2014 · 4 comments
Closed

Comments

@carlsmith
Copy link
Contributor

Basically this...
screen shot 2015-03-09 at 02 00 50
The JavaScript errors are always correct, but only the third example has the correct position for CoffeeScript.

@carlsmith carlsmith changed the title Source Maps: Reference errors in lone expressions are broken. Source Maps: Reference errors in 'name only expressions' are broken Oct 8, 2014
@carlsmith carlsmith reopened this Mar 9, 2015
@carlsmith
Copy link
Contributor Author

I'm going to investigate this today. The problem may be in CoffeeShop, so I'll dive into it, and hopefully get it sorted. I'll open a new, more concrete issue if it is a CoffeeScript problem.

@reverofevil
Copy link

Was it fixed? The status of this issue is unclear.

@carlsmith
Copy link
Contributor Author

Yep. Sorry. It was fixed. I'm on my phone, so can't find the issue just now, but it was fixed by a PR dealing with this problem when the compiler has bare set to true.

@carlsmith
Copy link
Contributor Author

The IIFE would always hide this bug.

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

2 participants