diff options
author | michelou <michelou@epfl.ch> | 2003-10-31 15:38:35 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2003-10-31 15:38:35 +0000 |
commit | 81288e4e3e762adfd8ecc9f738eb63e43bd4f09b (patch) | |
tree | 047743b03ea8f4be17b9a797ae43e0e9b649f8a8 | |
parent | e1389174dece282a6c73ddefb5df1f6560a10644 (diff) | |
download | scala-81288e4e3e762adfd8ecc9f738eb63e43bd4f09b.tar.gz scala-81288e4e3e762adfd8ecc9f738eb63e43bd4f09b.tar.bz2 scala-81288e4e3e762adfd8ecc9f738eb63e43bd4f09b.zip |
- corrected call to printType for ConstantType
-rw-r--r-- | sources/scala/tools/scaladoc/SymbolTablePrinter.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sources/scala/tools/scaladoc/SymbolTablePrinter.java b/sources/scala/tools/scaladoc/SymbolTablePrinter.java index 72fd773519..c5811f39a8 100644 --- a/sources/scala/tools/scaladoc/SymbolTablePrinter.java +++ b/sources/scala/tools/scaladoc/SymbolTablePrinter.java @@ -490,9 +490,8 @@ public class SymbolTablePrinter extends scalac.symtab.SymbolTablePrinter { return this; case ConstantType(Type base, Object value): - System.out.println("CONSTANT" + type); print("("); - printType(base); + printType(base, user); print(value.toString()); print(")"); return this; @@ -587,6 +586,8 @@ public class SymbolTablePrinter extends scalac.symtab.SymbolTablePrinter { /** * .. + * + * @param prefix */ public SymbolTablePrinter printPrefix0(Type prefix) { printCommonPart(prefix, Symbol.NONE); |