LibJS: Use correct type for NumberFormat's UseGrouping internal slot

This was converted to an enumeration for Intl.NumberFormat V3 in commit
33698b9615, but the default value was not
updated (and it's a bit surprising it compiled at all, given that this
is an 'enum class').
This commit is contained in:
Timothy Flynn 2023-01-21 22:46:40 -05:00 committed by Tim Flynn
parent 4548906e7b
commit bc9a440f31
Notes: sideshowbarker 2024-07-17 01:17:47 +09:00

View file

@ -248,7 +248,7 @@ private:
Optional<CurrencySign> m_currency_sign {}; // [[CurrencySign]]
Optional<String> m_unit {}; // [[Unit]]
Optional<::Locale::Style> m_unit_display {}; // [[UnitDisplay]]
UseGrouping m_use_grouping { false }; // [[UseGrouping]]
UseGrouping m_use_grouping { UseGrouping::False }; // [[UseGrouping]]
Notation m_notation { Notation::Invalid }; // [[Notation]]
Optional<CompactDisplay> m_compact_display {}; // [[CompactDisplay]]
SignDisplay m_sign_display { SignDisplay::Invalid }; // [[SignDisplay]]