diff options
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibJS/AST.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/AST.h b/Libraries/LibJS/AST.h index 31c95e5f9c..4dd15e5723 100644 --- a/Libraries/LibJS/AST.h +++ b/Libraries/LibJS/AST.h @@ -207,7 +207,8 @@ private: virtual const char* class_name() const override { return "FunctionDeclaration"; } }; -class FunctionExpression final : public Expression +class FunctionExpression final + : public Expression , public FunctionNode { public: static bool must_have_name() { return false; } |