summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-08-15 20:46:47 +0000
committerPaul Phillips <paulp@improving.org>2011-08-15 20:46:47 +0000
commite43daf434becf4497acb4d297ab6d2866c16d1aa (patch)
treeb6e592f9b3d4d6c476effe8e4b6181235f94d80a /src
parentf309513c9f540e1e9eb5c072e66cb64333aa7bda (diff)
downloadscala-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.
Diffstat (limited to 'src')
-rw-r--r--src/compiler/scala/reflect/internal/Trees.scala3
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 ---------------------------------------