Index: src/ast.h |
diff --git a/src/ast.h b/src/ast.h |
index cb7763bfd1cab157cd677a9c51e4c0dadcbba4d9..160078cdb5336db81be037a5891fdeb29429d6c3 100644 |
--- a/src/ast.h |
+++ b/src/ast.h |
@@ -405,7 +405,10 @@ class Declaration: public AstNode { |
mode_(mode), |
fun_(fun), |
scope_(scope) { |
- ASSERT(mode == VAR || mode == CONST || mode == LET); |
+ ASSERT(mode == VAR || |
+ mode == CONST || |
+ mode == CONST_HARMONY || |
+ mode == LET); |
// At the moment there are no "const functions"'s in JavaScript... |
ASSERT(fun == NULL || mode == VAR || mode == LET); |
} |