Skip to content

Commit 7822d19

Browse files
oderskysmarter
andauthored
Update compiler/src/dotty/tools/dotc/core/Types.scala
Co-authored-by: Guillaume Martres <smarter@ubuntu.com>
1 parent 1a25020 commit 7822d19

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
@@ -4166,7 +4166,7 @@ object Types {
41664166
if problems.isEmpty then tp
41674167
else
41684168
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"
4169+
def msg = i"Inaccessible variables captured in instantation of type variable $this.\n$tp was fixed to $atp"
41704170
typr.println(msg)
41714171
val bound = ctx.typeComparer.fullUpperBound(origin)
41724172
if !(atp <:< bound) then

0 commit comments

Comments
 (0)