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

Bring method/local variable distinction to Ruby Scanner #72

Open
nathany opened this issue Oct 27, 2012 · 2 comments
Open

Bring method/local variable distinction to Ruby Scanner #72

nathany opened this issue Oct 27, 2012 · 2 comments
Milestone

Comments

@nathany
Copy link
Contributor

nathany commented Oct 27, 2012

I would like to highlight methods a little differently from local variables. Consider:

  p p    # two method calls
  p = 0  # an assignment
  p p    # a method call and a variable reference

The rules for telling variables and methods in Ruby apart are clear, but not simple to parse.

(unfortunately the forums were taken down, so the link to http://code.licenser.net/boards/4/topics/show/3#Examples-of-separated-versus-shared-storage-in-Ruby is broken)

From Redmine: http://odd-eyed-code.org/issues/75

@korny
Copy link
Member

korny commented Nov 11, 2012

See also: #89

@korny
Copy link
Member

korny commented Mar 10, 2013

We're not even sure how to achieve this, so => Future

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