diff options
author | Martin Odersky <odersky@gmail.com> | 2003-02-14 13:38:50 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-02-14 13:38:50 +0000 |
commit | fd3f10df3cd88fe3b970f8312a479ae63f0803b8 (patch) | |
tree | 4417d42a8b7a1a326c1eab8dcb867a9de7c90659 /sources/scalac/ast/printer | |
parent | 23d2bfbeb21f63d82ed46d5b1b0b85b1ed2f4355 (diff) | |
download | scala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.tar.gz scala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.tar.bz2 scala-fd3f10df3cd88fe3b970f8312a479ae63f0803b8.zip |
*** empty log message ***
Diffstat (limited to 'sources/scalac/ast/printer')
-rw-r--r-- | sources/scalac/ast/printer/TextTreePrinter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/scalac/ast/printer/TextTreePrinter.java b/sources/scalac/ast/printer/TextTreePrinter.java index c5138d025f..6cb7ac368c 100644 --- a/sources/scalac/ast/printer/TextTreePrinter.java +++ b/sources/scalac/ast/printer/TextTreePrinter.java @@ -313,7 +313,7 @@ public class TextTreePrinter implements TreePrinter { print(Text.Space); printSymbolDefinition(tree.symbol(), name); printParams(tparams); - if ((mods & Modifiers.ABSTRACT) != 0) printOpt(TXT_SUBTYPE, rhs, true); + if ((mods & (Modifiers.ABSTRACT | Modifiers.PARAM)) != 0) printOpt(TXT_SUBTYPE, rhs, true); else printOpt(TXT_EQUAL, rhs, true); break; @@ -667,7 +667,7 @@ public class TextTreePrinter implements TreePrinter { case TypeDef(int mods, Name name, _, Tree bound): printModifiers(mods); printSymbolDefinition(tree.symbol(), name); - printOpt(KW_EXTENDS, bound, true); + printOpt(TXT_SUBTYPE, bound, true); break; case ValDef(int mods, Name name, Tree tpe, Tree.Empty): |