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..c8284b771e7b8de9df0b7c52652524c54974b97d 100644 |
--- a/src/ast/ast-traversal-visitor.h |
+++ b/src/ast/ast-traversal-visitor.h |
@@ -286,7 +286,7 @@ |
void AstTraversalVisitor<Subclass>::VisitFunctionLiteral( |
FunctionLiteral* expr) { |
PROCESS_EXPRESSION(expr); |
- DeclarationScope* scope = expr->scope(); |
+ Scope* scope = expr->scope(); |
RECURSE_EXPRESSION(VisitDeclarations(scope->declarations())); |
RECURSE_EXPRESSION(VisitStatements(expr->body())); |
} |