We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd3d5c commit 1a25020Copy full SHA for 1a25020
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4167,7 +4167,7 @@ object Types {
4167
else
4168
val atp = ctx.typer.avoid(tp, problems.toList)
4169
val msg = i"Inaccessible variables captured in instantation of type variable $this.\n$tp was fixed to $atp"
4170
- println(msg)
+ typr.println(msg)
4171
val bound = ctx.typeComparer.fullUpperBound(origin)
4172
if !(atp <:< bound) then
4173
throw new TypeError(s"$msg,\nbut the latter type does not conform to the upper bound $bound")
0 commit comments