diff options
author | Paul Phillips <paulp@improving.org> | 2011-12-02 14:10:32 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-12-02 14:16:36 -0800 |
commit | 6da31ebaf3be8223460977927d2b2401477f253b (patch) | |
tree | 686381d4f5bd135282e24fb1b1659e54f5eec5d7 /src/compiler | |
parent | 4bfd2cdb78fc9635b83286818c513cd220846c6c (diff) | |
download | scala-6da31ebaf3be8223460977927d2b2401477f253b.tar.gz scala-6da31ebaf3be8223460977927d2b2401477f253b.tar.bz2 scala-6da31ebaf3be8223460977927d2b2401477f253b.zip |
Revert "Fixes the annoying spaces between name, type params and params in ScalaDoc."
This reverts commit 086b558f2d025323c86226b2560578c50ee48b84.
It causes two scaladoc tests to fail; the scaladoc tests are almost
completely opaque and I have no time to reverse engineer them.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/page/Template.scala | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala index 5e5320ca9a..813958af85 100644 --- a/src/compiler/scala/tools/nsc/doc/html/page/Template.scala +++ b/src/compiler/scala/tools/nsc/doc/html/page/Template.scala @@ -563,7 +563,8 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage { if (!nameLink.isEmpty) <a href={nameLink}>{nameHtml}</a> else nameHtml - }{ + } + { def tparamsToHtml(mbr: Entity): NodeSeq = mbr match { case hk: HigherKinded => val tpss = hk.typeParams @@ -579,8 +580,8 @@ class Template(tpl: DocTemplateEntity) extends HtmlPage { case _ => NodeSeq.Empty } tparamsToHtml(mbr) - }{ - if (isReduced) NodeSeq.Empty else { + } + { if (isReduced) NodeSeq.Empty else { def paramsToHtml(vlsss: List[List[ValueParam]]): NodeSeq = { def param0(vl: ValueParam): NodeSeq = // notice the }{ in the next lines, they are necessary to avoid a undesired withspace in output |