mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:28:11 +00:00
LibJS: Specify right base for PromiseResolvingElementFunction subclasses
This commit is contained in:
parent
971dc44ed3
commit
935075c26e
1 changed files with 2 additions and 2 deletions
|
@ -94,7 +94,7 @@ private:
|
|||
|
||||
// 27.2.4.2.3 Promise.allSettled Reject Element Functions, https://tc39.es/ecma262/#sec-promise.allsettled-reject-element-functions
|
||||
class PromiseAllSettledRejectElementFunction final : public PromiseResolvingElementFunction {
|
||||
JS_OBJECT(PromiseResolvingFunction, NativeFunction);
|
||||
JS_OBJECT(PromiseResolvingFunction, PromiseResolvingElementFunction);
|
||||
|
||||
public:
|
||||
static PromiseAllSettledRejectElementFunction* create(GlobalObject&, size_t, PromiseValueList&, PromiseCapability, RemainingElements&);
|
||||
|
@ -108,7 +108,7 @@ private:
|
|||
|
||||
// 27.2.4.3.2 Promise.any Reject Element Functions, https://tc39.es/ecma262/#sec-promise.any-reject-element-functions
|
||||
class PromiseAnyRejectElementFunction final : public PromiseResolvingElementFunction {
|
||||
JS_OBJECT(PromiseResolvingFunction, NativeFunction);
|
||||
JS_OBJECT(PromiseResolvingFunction, PromiseResolvingElementFunction);
|
||||
|
||||
public:
|
||||
static PromiseAnyRejectElementFunction* create(GlobalObject&, size_t, PromiseValueList&, PromiseCapability, RemainingElements&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue