diff --git a/src/inline.c b/src/inline.c index b8a1f980ed9c..7bc79ae2453c 100644 --- a/src/inline.c +++ b/src/inline.c @@ -1389,7 +1389,11 @@ class InlineScanVisitor : public Visitor { Expression *ex = expandInline(fd, parent, eret, NULL, e->arguments, NULL); if (ex) + { eresult = ex; + if (global.params.verbose) + fprintf(global.stdmsg, "inlined %s =>\n %s\n", fd->toPrettyChars(), parent->toPrettyChars()); + } } } else if (e->e1->op == TOKdotvar) @@ -1412,7 +1416,11 @@ class InlineScanVisitor : public Visitor { Expression *ex = expandInline(fd, parent, eret, dve->e1, e->arguments, NULL); if (ex) + { eresult = ex; + if (global.params.verbose) + fprintf(global.stdmsg, "inlined %s =>\n %s\n", fd->toPrettyChars(), parent->toPrettyChars()); + } } } }