Skip to content

Commit dff27e7

Browse files
committed
Don't elide ^{cap} to ^ under -Ycc-verbose
1 parent 8aa6352 commit dff27e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/printing/PlainPrinter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ class PlainPrinter(_ctx: Context) extends Printer {
222222
boxText
223223
~ toTextLocal(parent)
224224
~ "^"
225-
~ toTextGeneralCaptureSet(refs).provided(!isUniversalCaptureSet(refs))
225+
~ toTextGeneralCaptureSet(refs).provided(!isUniversalCaptureSet(refs) || ccVerbose)
226226

227227
def toText(tp: Type): Text = controlled {
228228
homogenize(tp) match {

0 commit comments

Comments
 (0)