1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

LibJS: Convert Temporal.PlainDate functions to ThrowCompletionOr

This commit is contained in:
Linus Groh 2021-10-21 20:07:40 +01:00
parent df67f4978e
commit 2093128b24
4 changed files with 144 additions and 145 deletions

View file

@ -24,8 +24,8 @@ public:
private:
virtual bool has_constructor() const override { return true; }
JS_DECLARE_OLD_NATIVE_FUNCTION(from);
JS_DECLARE_OLD_NATIVE_FUNCTION(compare);
JS_DECLARE_NATIVE_FUNCTION(from);
JS_DECLARE_NATIVE_FUNCTION(compare);
};
}