mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
LibJS: Add missing has_constructor override to Generator Functions
This commit is contained in:
parent
e9eae9d880
commit
804d592303
Notes:
sideshowbarker
2024-07-18 09:07:45 +09:00
Author: https://github.com/IdanHo Commit: https://github.com/SerenityOS/serenity/commit/804d592303a Pull-request: https://github.com/SerenityOS/serenity/pull/8684 Reviewed-by: https://github.com/awesomekling
@ -21,6 +21,9 @@ public:
|
||||
|
||||
virtual Value call() override;
|
||||
virtual Value construct(FunctionObject& new_target) override;
|
||||
|
||||
private:
|
||||
bool has_constructor() const override { return true; }
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user