Index: src/parsing/rewriter.h |
diff --git a/src/parsing/rewriter.h b/src/parsing/rewriter.h |
index b90607489076ddb55f931160339ad16a22b7e490..2dbfd32b7fa35d86c053959b3c2d87c6215b4649 100644 |
--- a/src/parsing/rewriter.h |
+++ b/src/parsing/rewriter.h |
@@ -12,6 +12,7 @@ class AstValueFactory; |
class DoExpression; |
class ParseInfo; |
class Parser; |
+class DeclarationScope; |
class Scope; |
class Rewriter { |
@@ -30,8 +31,8 @@ class Rewriter { |
// of the outer scope (the do-expression itself runs in a block scope, not a |
// closure scope). This closure scope needs to be passed in since the |
// do-expression could have dropped its own block scope. |
- static bool Rewrite(Parser* parser, Scope* closure_scope, DoExpression* expr, |
- AstValueFactory* factory); |
+ static bool Rewrite(Parser* parser, DeclarationScope* closure_scope, |
+ DoExpression* expr, AstValueFactory* factory); |
}; |