change var name for coherence (#9579)

This commit is contained in:
Florian Adonis 2019-02-26 16:05:43 +01:00 committed by Brian Ng
parent d0e196d210
commit 8f26f6df83

View File

@ -367,7 +367,7 @@ export default class Printer {
const loc = t.isProgram(node) || t.isFile(node) ? null : node.loc;
this.withSource("start", loc, () => {
this[node.type](node, parent);
printMethod.call(this, node, parent);
});
this._printTrailingComments(node);