We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678f76d commit e0e1b94Copy full SHA for e0e1b94
scaladoc/src/dotty/tools/scaladoc/tasty/TypesSupport.scala
@@ -341,6 +341,7 @@ trait TypesSupport:
341
import reflect._
342
val arrow = if t.isContextFunctionType then keyword(" ?=> ").l // FIXME: can we have contextual functions with capture sets?
343
else plain(" ") :: (renderCaptureArrow(inCC) ++ plain(" ").l)
344
+ given Option[List[TypeRepr]] = None
345
args match
346
case Nil => Nil
347
case List(rtpe) => plain("()").l ++ arrow ++ inner(rtpe)
0 commit comments