summaryrefslogtreecommitdiff
path: root/sources
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-11-25 10:18:22 +0000
committerpaltherr <paltherr@epfl.ch>2003-11-25 10:18:22 +0000
commit986cda8cfccddacdba5bf6879ff97ac0d9013a47 (patch)
tree91ba832d32c009ff56cc3b6036141ce786054286 /sources
parentbcfd14b3f33b451b3297d9651082811e41fd65d4 (diff)
downloadscala-986cda8cfccddacdba5bf6879ff97ac0d9013a47.tar.gz
scala-986cda8cfccddacdba5bf6879ff97ac0d9013a47.tar.bz2
scala-986cda8cfccddacdba5bf6879ff97ac0d9013a47.zip
- Fixed printTemplate (removed double printing ...
- Fixed printTemplate (removed double printing of class bodies)
Diffstat (limited to 'sources')
-rw-r--r--sources/scala/tools/scalac/ast/printer/TextTreePrinter.scala5
1 files changed, 0 insertions, 5 deletions
diff --git a/sources/scala/tools/scalac/ast/printer/TextTreePrinter.scala b/sources/scala/tools/scalac/ast/printer/TextTreePrinter.scala
index 24d8e4f8f6..063b7551dc 100644
--- a/sources/scala/tools/scalac/ast/printer/TextTreePrinter.scala
+++ b/sources/scala/tools/scalac/ast/printer/TextTreePrinter.scala
@@ -657,11 +657,6 @@ class TextTreePrinter(_out: PrintWriter, autoFlush: boolean) with TreePrinter {
undent();
print(TXT_BLOCK_END);
}
-
- if (templ.body.length > 0) {
- print(Space);
- printArray(templ.body, TXT_BLOCK_BEGIN, TXT_BLOCK_END, TXT_BLOCK_SEP);
- }
}
protected def printParams(tparams: Array[Tree$AbsTypeDef]): unit =