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 1a25020 commit 7822d19Copy full SHA for 7822d19
compiler/src/dotty/tools/dotc/core/Types.scala
@@ -4166,7 +4166,7 @@ object Types {
4166
if problems.isEmpty then tp
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"
+ def msg = i"Inaccessible variables captured in instantation of type variable $this.\n$tp was fixed to $atp"
4170
typr.println(msg)
4171
val bound = ctx.typeComparer.fullUpperBound(origin)
4172
if !(atp <:< bound) then
0 commit comments