Skip to content

Commit 1a25020

Browse files
committed
Drop debug println
1 parent 9dd3d5c commit 1a25020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4167,7 +4167,7 @@ object Types {
41674167
else
41684168
val atp = ctx.typer.avoid(tp, problems.toList)
41694169
val msg = i"Inaccessible variables captured in instantation of type variable $this.\n$tp was fixed to $atp"
4170-
println(msg)
4170+
typr.println(msg)
41714171
val bound = ctx.typeComparer.fullUpperBound(origin)
41724172
if !(atp <:< bound) then
41734173
throw new TypeError(s"$msg,\nbut the latter type does not conform to the upper bound $bound")

0 commit comments

Comments
 (0)