diff options
author | Martin Odersky <odersky@gmail.com> | 2009-05-29 15:47:25 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-05-29 15:47:25 +0000 |
commit | f057f5f3fae706ad9de69b9574466a1c22492197 (patch) | |
tree | 5007d1e3ce4ed9ec4849f9b035fb3c5e13c757a3 /src | |
parent | f98d917d42b6a5b38e659450c683f93d7ffd9560 (diff) | |
download | scala-f057f5f3fae706ad9de69b9574466a1c22492197.tar.gz scala-f057f5f3fae706ad9de69b9574466a1c22492197.tar.bz2 scala-f057f5f3fae706ad9de69b9574466a1c22492197.zip |
fixed failing test affecting bug1960.
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/TreePrinters.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/TreePrinters.scala b/src/compiler/scala/tools/nsc/ast/TreePrinters.scala index b4b207b05e..6fb1c4e166 100644 --- a/src/compiler/scala/tools/nsc/ast/TreePrinters.scala +++ b/src/compiler/scala/tools/nsc/ast/TreePrinters.scala @@ -343,7 +343,7 @@ abstract class TreePrinters { } else if ((tree.tpe.typeSymbol ne null) && tree.tpe.typeSymbol.isAnonymousClass) { print(tree.tpe.typeSymbol.toString()) } else { - tree.tpe.toString() + print(tree.tpe.toString()) } case Annotated(Annotation(Apply(Select(New(tpt), nme.CONSTRUCTOR), args), elements), tree) => |