Skip to content

Commit 0b77e07

Browse files
committed
Print diagnostics when inliner starts
1 parent 6ebe141 commit 0b77e07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ class Inliner(call: tpd.Tree, rhsToInline: tpd.Tree)(implicit ctx: Context) {
204204
private val inlineCallPrefix =
205205
qualifier(methPart).orElse(This(inlinedMethod.enclosingClass.asClass))
206206

207+
inlining.println("-----------------------\nInlining $call\nWith RHS $rhsToInline")
208+
207209
// Make sure all type arguments to the call are fully determined
208210
for (targ <- callTypeArgs) fullyDefinedType(targ.tpe, "inlined type argument", targ.span)
209211

0 commit comments

Comments
 (0)