mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 00:08:55 +00:00
LibJS: Improve const-correctness of CalendarDateUntil
This commit is contained in:
parent
23c5a7a0a3
commit
a372a16b2c
Notes:
sideshowbarker
2024-07-17 03:05:16 +09:00
Author: https://github.com/shannonbooth
Commit: a372a16b2c
Pull-request: https://github.com/SerenityOS/serenity/pull/22593
Reviewed-by: https://github.com/ADKaster ✅
2 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ ThrowCompletionOr<PlainDate*> calendar_date_add(VM& vm, Object& calendar, Value
|
|||
}
|
||||
|
||||
// 12.2.7 CalendarDateUntil ( calendar, one, two, options [ , dateUntil ] ), https://tc39.es/proposal-temporal/#sec-temporal-calendardateuntil
|
||||
ThrowCompletionOr<Duration*> calendar_date_until(VM& vm, Object& calendar, Value one, Value two, Object& options, FunctionObject* date_until)
|
||||
ThrowCompletionOr<Duration*> calendar_date_until(VM& vm, Object const& calendar, Value one, Value two, Object const& options, FunctionObject const* date_until)
|
||||
{
|
||||
// 1. Assert: Type(calendar) is Object.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue