Index: src/ast/ast-traversal-visitor.h |
diff --git a/src/ast/ast-traversal-visitor.h b/src/ast/ast-traversal-visitor.h |
index 0f2976c4ca4f9e6b9b290ad761620c4881609b74..e0f88e19a980be2a9fa5c5abe29e5f575b2ecbd8 100644 |
--- a/src/ast/ast-traversal-visitor.h |
+++ b/src/ast/ast-traversal-visitor.h |
@@ -447,9 +447,9 @@ void AstTraversalVisitor<Subclass>::VisitClassLiteral(ClassLiteral* expr) { |
RECURSE_EXPRESSION(Visit(expr->extends())); |
} |
RECURSE_EXPRESSION(Visit(expr->constructor())); |
- ZoneList<ObjectLiteralProperty*>* props = expr->properties(); |
+ ZoneList<ClassLiteralProperty*>* props = expr->properties(); |
for (int i = 0; i < props->length(); ++i) { |
- ObjectLiteralProperty* prop = props->at(i); |
+ ClassLiteralProperty* prop = props->at(i); |
if (!prop->key()->IsLiteral()) { |
RECURSE_EXPRESSION(Visit(prop->key())); |
} |