diff options
author | michelou <michelou@epfl.ch> | 2008-02-21 18:22:39 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2008-02-21 18:22:39 +0000 |
commit | 1565699e2deb5b0aa8d75ab043f20e1fc3946788 (patch) | |
tree | b0eee140a9393138f2e5565eb7c32d463090613d /src/compiler | |
parent | 7e34adcfa1c89392848261f49dc5e0961d969b5e (diff) | |
download | scala-1565699e2deb5b0aa8d75ab043f20e1fc3946788.tar.gz scala-1565699e2deb5b0aa8d75ab043f20e1fc3946788.tar.bz2 scala-1565699e2deb5b0aa8d75ab043f20e1fc3946788.zip |
minor correction in output
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/ast/NodePrinters.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/NodePrinters.scala b/src/compiler/scala/tools/nsc/ast/NodePrinters.scala index 158340e519..c231207535 100644 --- a/src/compiler/scala/tools/nsc/ast/NodePrinters.scala +++ b/src/compiler/scala/tools/nsc/ast/NodePrinters.scala @@ -224,7 +224,7 @@ abstract class NodePrinters { case Template(parents, self, body) => println("Template(" + nodeinfo(tree)) println(" " + parents.map(p => if (p.tpe ne null) p.tpe.typeSymbol else "null-" + p) + ", // parents") - traverse(self, level + 2, true) + traverse(self, level + 1, true) if (body.isEmpty) println(" List() // no body") else { |