Skip to content

Commit 09cdfca

Browse files
committed
More debug info for ensureTrackableRef
1 parent 1644fd3 commit 09cdfca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Types.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -6143,7 +6143,7 @@ object Types extends TypeUtils {
61436143
case tp: TypeAlias =>
61446144
ensureTrackable(tp.alias)
61456145
case _ =>
6146-
assert(false, i"not a trackable CaptureRef: $result with underlying ${result.underlyingIterator.toList}")
6146+
assert(false, i"not a trackable CaptureRef: $result of class ${result.getClass} with underlying ${result.underlyingIterator.toList}")
61476147
ensureTrackable(result)
61486148

61496149
/** A restriction of the inverse to a function on tracked CaptureRefs */

0 commit comments

Comments
 (0)