From bdb8fc54f271fdc051e3fb8f9c0aa4acf5c8bd1e Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 9 Dec 2021 23:18:01 +0000 Subject: [PATCH] LibJS: Update spec comment in balance_duration_relative() This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/665871e --- Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp index e140c9831d..002deae7b7 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/Duration.cpp @@ -748,8 +748,7 @@ ThrowCompletionOr balance_duration_relative(GlobalObje one_year_days = move_result.days; } - // e. Let moveResult be ? MoveRelativeDate(calendar, relativeTo, oneMonth). - // FIXME: This should be "Set moveResult to" (spec issue) + // e. Set moveResult to ? MoveRelativeDate(calendar, relativeTo, oneMonth). move_result = TRY(move_relative_date(global_object, calendar, *relative_to, *one_month)); // f. Set relativeTo to moveResult.[[RelativeTo]].