From 61340ff311fea10ec9a9a938cbbd45ea0621052d Mon Sep 17 00:00:00 2001 From: Matt Bovel Date: Thu, 13 Mar 2025 10:12:11 +0000 Subject: [PATCH] Remove trace in adaptBoxed --- compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala | 3 --- 1 file changed, 3 deletions(-) diff --git a/compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala b/compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala index 830d9ad0a4d4..b44e0daaccec 100644 --- a/compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala +++ b/compiler/src/dotty/tools/dotc/cc/CheckCaptures.scala @@ -1333,8 +1333,6 @@ class CheckCaptures extends Recheck, SymTransformer: return actual case _ => - trace(adaptStr, capt, show = true) { - // Decompose the actual type into the inner shape type, the capture set and the box status val actualShape = if actual.isFromJavaObject then actual else actual.stripCapturing val actualIsBoxed = actual.isBoxedCapturing @@ -1403,7 +1401,6 @@ class CheckCaptures extends Recheck, SymTransformer: else adaptedShape .capturing(if alwaysConst then CaptureSet(captures.elems) else captures) .forceBoxStatus(resultIsBoxed) - } end recur recur(actual, expected, covariant)