Skip to content

Commit 61340ff

Browse files
committed
Remove trace in adaptBoxed
1 parent a986531 commit 61340ff

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala

-3
Original file line numberDiff line numberDiff line change
@@ -1333,8 +1333,6 @@ class CheckCaptures extends Recheck, SymTransformer:
13331333
return actual
13341334
case _ =>
13351335

1336-
trace(adaptStr, capt, show = true) {
1337-
13381336
// Decompose the actual type into the inner shape type, the capture set and the box status
13391337
val actualShape = if actual.isFromJavaObject then actual else actual.stripCapturing
13401338
val actualIsBoxed = actual.isBoxedCapturing
@@ -1403,7 +1401,6 @@ class CheckCaptures extends Recheck, SymTransformer:
14031401
else adaptedShape
14041402
.capturing(if alwaysConst then CaptureSet(captures.elems) else captures)
14051403
.forceBoxStatus(resultIsBoxed)
1406-
}
14071404
end recur
14081405

14091406
recur(actual, expected, covariant)

0 commit comments

Comments
 (0)