Skip to content

Commit 322f874

Browse files
committed
Fix import suggestion error logging
This was printing the extra debug information when testing tests/neg-deep-subtype/i1650.scala
1 parent 69e1338 commit 322f874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)