Skip to content

Commit 8fc3df1

Browse files
committed
Update comment
1 parent f8893e5 commit 8fc3df1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: compiler/src/dotty/tools/dotc/ast/untpd.scala

+1-2
Original file line numberDiff line numberDiff line change
@@ -527,8 +527,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo {
527527
def makeCapsOf(tp: RefTree)(using Context): Tree =
528528
TypeApply(Select(scalaDot(nme.caps), nme.capsOf), tp :: Nil)
529529

530-
// `type C^` and `[C^]` becomes:
531-
// `type C >: CapSet <: CapSet^{cap}` and `[C >: CapSet <: CapSet^{cap}]`
530+
// Capture set variable `[C^]` becomes: `[C >: CapSet <: CapSet^{cap}]`
532531
def makeCapsBound()(using Context): TypeBoundsTree =
533532
TypeBoundsTree(
534533
Select(scalaDot(nme.caps), tpnme.CapSet),

0 commit comments

Comments
 (0)