Skip to content

Commit 9f11d0d

Browse files
Backport "Fix import suggestion error logging" to LTS (#20720)
Backports #18707 to the LTS branch. PR submitted by the release tooling. [skip ci]
2 parents 75c564b + 7669407 commit 9f11d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ trait ImportSuggestions:
195195
&& {
196196
val task = new TimerTask:
197197
def run() =
198-
println(i"Cancelling test of $ref when making suggestions for error in ${ctx.source}")
198+
implicits.println(i"Cancelling test of $ref when making suggestions for error in ${ctx.source}")
199199
ctx.run.nn.isCancelled = true
200200
val span = ctx.owner.srcPos.span
201201
val (expectedType, argument, kind) = pt match

0 commit comments

Comments
 (0)