diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-15 20:46:47 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-15 20:46:47 +0000 |
commit | e43daf434becf4497acb4d297ab6d2866c16d1aa (patch) | |
tree | b6e592f9b3d4d6c476effe8e4b6181235f94d80a | |
parent | f309513c9f540e1e9eb5c072e66cb64333aa7bda (diff) | |
download | scala-e43daf434becf4497acb4d297ab6d2866c16d1aa.tar.gz scala-e43daf434becf4497acb4d297ab6d2866c16d1aa.tar.bz2 scala-e43daf434becf4497acb4d297ab6d2866c16d1aa.zip |
Fixed a method which got hosed in the reflectio...
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.
-rw-r--r-- | src/compiler/scala/reflect/internal/Trees.scala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/scala/reflect/internal/Trees.scala b/src/compiler/scala/reflect/internal/Trees.scala index 5ba1a1221e..da0ae36ba9 100644 --- a/src/compiler/scala/reflect/internal/Trees.scala +++ b/src/compiler/scala/reflect/internal/Trees.scala @@ -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 --------------------------------------- |