Index: src/ast/modules.h |
diff --git a/src/ast/modules.h b/src/ast/modules.h |
index 5f63fce26955249ef7303f6b1e037ade1efa29d7..c8f7aa37937a231312114dffd79b9d911b8a8308 100644 |
--- a/src/ast/modules.h |
+++ b/src/ast/modules.h |
@@ -64,7 +64,7 @@ class ModuleDescriptor : public ZoneObject { |
// Check if module is well-formed and report error if not. |
// Also canonicalize indirect exports. |
- bool Validate(DeclarationScope* module_scope, |
+ bool Validate(ModuleScope* module_scope, |
PendingCompilationErrorHandler* error_handler, Zone* zone); |
struct ModuleEntry : public ZoneObject { |