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

Fix #710: Extra space added for unary operations #714

Merged
merged 1 commit into from
Feb 6, 2017

Conversation

pjrt
Copy link
Collaborator

@pjrt pjrt commented Feb 3, 2017

No description provided.

@@ -221,7 +221,11 @@ object TokenOps {
)

def isSymbolicIdent(tok: Token): Boolean = tok match {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name of this function is confusing (or maybe I'm missing something). isSymbolicIdent? As in "is this a symbolic identifier"? Shouldn't this be isOperator?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wait, this could be an identifier for a class or type too. Nvm I guess.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, an identifier can be anything from a method, class, etc.

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for fixing this!

@pjrt pjrt merged commit 943f8d4 into scalameta:master Feb 6, 2017
@olafurpg olafurpg modified the milestone: 0.5.6 Feb 10, 2017
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