summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2021-11-15 11:38:23 -0500
committerLinus Groh <mail@linusgroh.de>2021-11-16 00:56:55 +0000
commit14aca0316130abc0b7b1b9ac2ed5ddcdbc8ae7e1 (patch)
treea0e6cb4ecb329d06ecac93646d2e5dc30ca22a00 /Userland/Libraries
parentfdae323401e907bd824348a3f009ccda232bcdc4 (diff)
downloadserenity-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.cpp3
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();
}
}
}