Skip to content

Commit 6cc124e

Browse files
committed
Avoid abbreviation in warning
1 parent 639361b commit 6cc124e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/typer/TypeAssigner.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ trait TypeAssigner {
190190
case ref: NamedType =>
191191
if ref.isTracked then
192192
if tp.captureSet.accountsFor(ref) then
193-
report.warning(em"redundant capture: $tp already contains $ref with cs ${ref.captureSet} in its capture set ${tp.captureSet}", tree.srcPos)
193+
report.warning(em"redundant capture: $tp already contains $ref with capture set ${ref.captureSet} in its capture set ${tp.captureSet}", tree.srcPos)
194194
CapturingType(tp, ref)
195195
else
196196
val reason =

0 commit comments

Comments
 (0)