From 6866bd11544fd29ac3c12117184346134b54ca63 Mon Sep 17 00:00:00 2001 From: noti0na1 Date: Sat, 30 Nov 2024 01:45:07 +0100 Subject: [PATCH] Update comment --- compiler/src/dotty/tools/dotc/ast/untpd.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/ast/untpd.scala b/compiler/src/dotty/tools/dotc/ast/untpd.scala index b91c7a712f4c..2acfc4cf86e3 100644 --- a/compiler/src/dotty/tools/dotc/ast/untpd.scala +++ b/compiler/src/dotty/tools/dotc/ast/untpd.scala @@ -527,8 +527,7 @@ object untpd extends Trees.Instance[Untyped] with UntypedTreeInfo { def makeCapsOf(tp: RefTree)(using Context): Tree = TypeApply(Select(scalaDot(nme.caps), nme.capsOf), tp :: Nil) - // `type C^` and `[C^]` becomes: - // `type C >: CapSet <: CapSet^{cap}` and `[C >: CapSet <: CapSet^{cap}]` + // Capture set variable `[C^]` becomes: `[C >: CapSet <: CapSet^{cap}]` def makeCapsBound()(using Context): TypeBoundsTree = TypeBoundsTree( Select(scalaDot(nme.caps), tpnme.CapSet),