We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8893e5 commit 8fc3df1Copy full SHA for 8fc3df1
compiler/src/dotty/tools/dotc/ast/untpd.scala
@@ -527,8 +527,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
527
def makeCapsOf(tp: RefTree)(using Context): Tree =
528
TypeApply(Select(scalaDot(nme.caps), nme.capsOf), tp :: Nil)
529
530
- // `type C^` and `[C^]` becomes:
531
- // `type C >: CapSet <: CapSet^{cap}` and `[C >: CapSet <: CapSet^{cap}]`
+ // Capture set variable `[C^]` becomes: `[C >: CapSet <: CapSet^{cap}]`
532
def makeCapsBound()(using Context): TypeBoundsTree =
533
TypeBoundsTree(
534
Select(scalaDot(nme.caps), tpnme.CapSet),
0 commit comments