Index: src/prettyprinter.cc |
diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc |
index 685e443e243584bb032ee7682cf83ee6a68fd274..f3ec75adcffb5488bc2d91f7ae1549ebf6f8bb6e 100644 |
--- a/src/prettyprinter.cc |
+++ b/src/prettyprinter.cc |
@@ -84,7 +84,7 @@ void PrettyPrinter::VisitModuleLiteral(ModuleLiteral* node) { |
void PrettyPrinter::VisitModuleVariable(ModuleVariable* node) { |
- PrintLiteral(node->var()->name(), false); |
+ Visit(node->proxy()); |
} |
@@ -773,7 +773,7 @@ void AstPrinter::VisitModuleLiteral(ModuleLiteral* node) { |
void AstPrinter::VisitModuleVariable(ModuleVariable* node) { |
- PrintLiteralIndented("VARIABLE", node->var()->name(), false); |
+ Visit(node->proxy()); |
} |