Index: src/ast/ast-traversal-visitor.h |
diff --git a/src/ast/ast-traversal-visitor.h b/src/ast/ast-traversal-visitor.h |
index c8284b771e7b8de9df0b7c52652524c54974b97d..0f2976c4ca4f9e6b9b290ad761620c4881609b74 100644 |
--- a/src/ast/ast-traversal-visitor.h |
+++ b/src/ast/ast-traversal-visitor.h |
@@ -286,7 +286,7 @@ template <class Subclass> |
void AstTraversalVisitor<Subclass>::VisitFunctionLiteral( |
FunctionLiteral* expr) { |
PROCESS_EXPRESSION(expr); |
- Scope* scope = expr->scope(); |
+ DeclarationScope* scope = expr->scope(); |
RECURSE_EXPRESSION(VisitDeclarations(scope->declarations())); |
RECURSE_EXPRESSION(VisitStatements(expr->body())); |
} |