diff options
author | Timothy Flynn <trflynn89@pm.me> | 2021-11-15 11:38:23 -0500 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-11-16 00:56:55 +0000 |
commit | 14aca0316130abc0b7b1b9ac2ed5ddcdbc8ae7e1 (patch) | |
tree | a0e6cb4ecb329d06ecac93646d2e5dc30ca22a00 /Userland/Libraries | |
parent | fdae323401e907bd824348a3f009ccda232bcdc4 (diff) | |
download | serenity-14aca0316130abc0b7b1b9ac2ed5ddcdbc8ae7e1.zip |
LibJS: Remove FIXME comment from PartitionNotationSubPattern AO
All possible patterns generated by LibUnicode are now handled. We have a
similar VERIFY_NOT_REACHED in PartitionNumberPattern.
Diffstat (limited to 'Userland/Libraries')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp index a74c229f63..db7d2f715f 100644 --- a/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp +++ b/Userland/Libraries/LibJS/Runtime/Intl/NumberFormat.cpp @@ -992,7 +992,8 @@ Vector<PatternPartition> partition_notation_sub_pattern(NumberFormat& number_for // 1. Let unknown be an ILND String based on x and p. // 2. Append a new Record { [[Type]]: "unknown", [[Value]]: unknown } as the last element of result. - // FIXME: Implement this when GetNotationSubPattern is fully implemented. + // LibUnicode doesn't generate any "unknown" patterns. + VERIFY_NOT_REACHED(); } } } |