LibJS: Add missing has_constructor override to Generator Functions

This commit is contained in:
Idan Horowitz 2021-07-12 15:01:38 +03:00 committed by Andreas Kling
parent e9eae9d880
commit 804d592303

View file

@ -21,6 +21,9 @@ public:
virtual Value call() override;
virtual Value construct(FunctionObject& new_target) override;
private:
bool has_constructor() const override { return true; }
};
}