aboutsummaryrefslogtreecommitdiff
path: root/dottydoc/src/dotty/tools/dottydoc/model
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2016-08-27 00:30:07 +0200
committerFelix Mulder <felix.mulder@gmail.com>2016-10-06 17:45:12 +0200
commit5463b7a9d42ece31409526ce192d263f7f55e047 (patch)
treebbdacab4ef724e42a45f3e59c0fa8acdf3ba3b3e /dottydoc/src/dotty/tools/dottydoc/model
parentea24c55fdc7b3310a7f9911b408647701b5799fa (diff)
downloaddotty-5463b7a9d42ece31409526ce192d263f7f55e047.tar.gz
dotty-5463b7a9d42ece31409526ce192d263f7f55e047.tar.bz2
dotty-5463b7a9d42ece31409526ce192d263f7f55e047.zip
Fix cooking of docstrings
Diffstat (limited to 'dottydoc/src/dotty/tools/dottydoc/model')
-rw-r--r--dottydoc/src/dotty/tools/dottydoc/model/comment/CommentExpander.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/dottydoc/src/dotty/tools/dottydoc/model/comment/CommentExpander.scala b/dottydoc/src/dotty/tools/dottydoc/model/comment/CommentExpander.scala
index 7e213c2f3..ece0d1018 100644
--- a/dottydoc/src/dotty/tools/dottydoc/model/comment/CommentExpander.scala
+++ b/dottydoc/src/dotty/tools/dottydoc/model/comment/CommentExpander.scala
@@ -47,7 +47,7 @@ trait CommentExpander {
val defines = sections filter { startsWithTag(raw, _, "@define") }
val usecases = sections filter { startsWithTag(raw, _, "@usecase") }
- val end = startTag(raw, (defines ::: usecases).sortBy(_._1))
+ val end = startTag(raw, (defines /*::: usecases*/).sortBy(_._1))
if (end == raw.length - 2) raw else raw.substring(0, end) + "*/"
}