mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:57:35 +00:00
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:
parent
4548906e7b
commit
bc9a440f31
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ private:
|
||||||
Optional<CurrencySign> m_currency_sign {}; // [[CurrencySign]]
|
Optional<CurrencySign> m_currency_sign {}; // [[CurrencySign]]
|
||||||
Optional<String> m_unit {}; // [[Unit]]
|
Optional<String> m_unit {}; // [[Unit]]
|
||||||
Optional<::Locale::Style> m_unit_display {}; // [[UnitDisplay]]
|
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]]
|
Notation m_notation { Notation::Invalid }; // [[Notation]]
|
||||||
Optional<CompactDisplay> m_compact_display {}; // [[CompactDisplay]]
|
Optional<CompactDisplay> m_compact_display {}; // [[CompactDisplay]]
|
||||||
SignDisplay m_sign_display { SignDisplay::Invalid }; // [[SignDisplay]]
|
SignDisplay m_sign_display { SignDisplay::Invalid }; // [[SignDisplay]]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue