mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:27:34 +00:00
LibJS: Add missing has_constructor override to Generator Functions
This commit is contained in:
parent
e9eae9d880
commit
804d592303
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ public:
|
||||||
|
|
||||||
virtual Value call() override;
|
virtual Value call() override;
|
||||||
virtual Value construct(FunctionObject& new_target) override;
|
virtual Value construct(FunctionObject& new_target) override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool has_constructor() const override { return true; }
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue