| Index: src/prettyprinter.cc
|
| diff --git a/src/prettyprinter.cc b/src/prettyprinter.cc
|
| index cd38d1334c1bb9a85a9f47443797876dcf600e92..bc4125c7c44182e41011e7c92dead348d535014c 100644
|
| --- a/src/prettyprinter.cc
|
| +++ b/src/prettyprinter.cc
|
| @@ -1370,6 +1370,10 @@ void JsonAstBuilder::VisitThrow(Throw* expr) {
|
|
|
| void JsonAstBuilder::VisitProperty(Property* expr) {
|
| TagScope tag(this, "Property");
|
| + {
|
| + AttributesScope attributes(this);
|
| + AddAttribute("type", expr->is_synthetic() ? "SYNTHETIC" : "NORMAL");
|
| + }
|
| Visit(expr->obj());
|
| Visit(expr->key());
|
| }
|
|
|