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.
2 parents 3349444 + 705fe5f commit 644bd7fCopy full SHA for 644bd7f
scaladoc/src/dotty/tools/scaladoc/tasty/TypesSupport.scala
@@ -535,6 +535,7 @@ trait TypesSupport:
535
private def isCapturedInContext(using Quotes)(ref: reflect.TypeRepr)(using elideThis: reflect.ClassDef): Boolean =
536
import reflect._
537
ref match
538
+ case t if t.isCaptureRoot => true
539
case ReachCapability(c) => isCapturedInContext(c)
540
case ReadOnlyCapability(c) => isCapturedInContext(c)
541
case ThisType(tr) => !elideThis.symbol.typeRef.isPureClass(elideThis) /* is the current class pure? */
0 commit comments