Skip to content

Trees: Add toString for AST nodes which are not case classes #625

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

Merged
merged 1 commit into from
May 31, 2015

Conversation

smarter
Copy link
Member

@smarter smarter commented May 29, 2015

This makes debugging trees easier

Review by @odersky .

@adriaanm
Copy link
Contributor

/synch

@adriaanm
Copy link
Contributor

@adriaanm
Copy link
Contributor

The only time I'm aware of you need to trigger a synch is when Jenkins was restarted while scabot was fetching the job status. It normally checks all PRs but it keeps a cache so it can get out of synch

@odersky
Copy link
Contributor

odersky commented May 31, 2015

LGTM

odersky added a commit that referenced this pull request May 31, 2015
Trees: Add toString for AST nodes which are not case classes
@odersky odersky merged commit 12ad674 into scala:master May 31, 2015
@@ -346,7 +346,9 @@ object Trees {
}

class BackquotedIdent[-T >: Untyped] private[ast] (name: Name)
extends Ident[T](name)
extends Ident[T](name) {
override def toString = "BackquotedIdent($name)"
Copy link
Contributor

Choose a reason for hiding this comment

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

missing the s prefix for string interpolation

Copy link
Member Author

Choose a reason for hiding this comment

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

woops, thanks for catching that.

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.

5 participants