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

undefined method source_line for Parser::Source::Map #429

Closed
markijbema opened this issue Aug 10, 2013 · 6 comments
Closed

undefined method source_line for Parser::Source::Map #429

markijbema opened this issue Aug 10, 2013 · 6 comments

Comments

@markijbema
Copy link
Contributor

I get this error:

lib/app/presenters/notifications_presenter.rb:1:1: C: Missing space after #.
undefined method `source_line' for #<Parser::Source::Map:0x007fdaaa9ff308>

On this file:

https://github.com/kytrinyx/exercism.io/blob/a3d51f829aea6db3151cfd2b246f65452f960ea4/lib/app/presenters/notifications_presenter.rb

@markijbema
Copy link
Contributor Author

This also totally crashes rubocop, so I cannot run --auto-gen-config to avoid it either

@bbatsov
Copy link
Collaborator

bbatsov commented Aug 10, 2013

Should be ok now.

@markijbema
Copy link
Contributor Author

Thanks!

@sharipov-ru
Copy link

still happening when after # sign follow some non-ascii characters.
on this file:

https://github.com/7bits/probation-drink-with-me/blob/master/app/controllers/application_controller.rb

@bbatsov
Copy link
Collaborator

bbatsov commented Aug 11, 2013

This was another issue (although related to the reported one), that I've just fixed.

@sharipov-ru
Copy link

thanks!

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