Skip to content

Commit

Permalink
Drop trace.force in CaptureSet
Browse files Browse the repository at this point in the history
This was showing up in testCompilation runs, locally or in CI.
  • Loading branch information
dwijnand committed Sep 3, 2024
1 parent 8527a9b commit 0a95e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/cc/CaptureSet.scala
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ sealed abstract class CaptureSet extends Showable:
*/
def accountsFor(x: CaptureRef)(using Context): Boolean =
if comparer.isInstanceOf[ExplainingTypeComparer] then // !!! DEBUG
reporting.trace.force(i"$this accountsFor $x, ${x.captureSetOfInfo}?", show = true):
reporting.trace(i"$this accountsFor $x, ${x.captureSetOfInfo}?", show = true):
elems.exists(_.subsumes(x))
|| !x.isMaxCapability && x.captureSetOfInfo.subCaptures(this, frozen = true).isOK
else
Expand Down

0 comments on commit 0a95e89

Please sign in to comment.