Skip to content

Commit 0291b8f

Browse files
committed
Fix () errors in WikiParser
1 parent 478a955 commit 0291b8f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc-tool/src/dotty/tools/dottydoc/model/comment/WikiParser.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private[comment] final class WikiParser(
4444
else if (checkSkipInitWhitespace("----"))
4545
hrule()
4646
else if (checkList)
47-
listBlock
47+
listBlock()
4848
else {
4949
para()
5050
}
@@ -76,7 +76,7 @@ private[comment] final class WikiParser(
7676
* not a list or a different list. */
7777
def listLine(indent: Int, style: String): Option[Block] =
7878
if (countWhitespace > indent && checkList)
79-
Some(listBlock)
79+
Some(listBlock())
8080
else if (countWhitespace != indent || !checkSkipInitWhitespace(style))
8181
None
8282
else {
@@ -217,7 +217,7 @@ private[comment] final class WikiParser(
217217
check(",,") ||
218218
check("[[") ||
219219
isInlineEnd ||
220-
checkParaEnded ||
220+
checkParaEnded() ||
221221
char == endOfLine
222222
}
223223
Text(str)
@@ -227,7 +227,7 @@ private[comment] final class WikiParser(
227227
val inlines: List[Inline] = {
228228
val iss = mutable.ListBuffer.empty[Inline]
229229
iss += inline0()
230-
while (!isInlineEnd && !checkParaEnded) {
230+
while (!isInlineEnd && !checkParaEnded()) {
231231
val skipEndOfLine = if (char == endOfLine) {
232232
nextChar()
233233
true

0 commit comments

Comments
 (0)