Fixed a method which got hosed in the reflection refactor

because the meaning of "this" changed.  This is a perfect
opportunity to yell "What is the meaning of this!" No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25510 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
extempore 2011-08-15 20:46:47 +00:00
parent dc67fbc9ae
commit be61acff42
1 changed files with 1 additions and 2 deletions

View File

@ -116,8 +116,7 @@ trait Trees extends api.Trees { self: SymbolTable =>
}
def shallowDuplicate: Tree = new ShallowDuplicator(tree) transform tree
def shortClass: String = this.getClass.getName split "[.$]" last
def shortClass: String = tree.getClass.getName split "[.$]" last
}
// ---- values and creators ---------------------------------------