Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<xlocnum>: Fix grouping for num_get #3684

Merged
merged 4 commits into from
May 18, 2023

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #1277.

Unblocking one libcxx test:

  • std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp

Also moves the test for non-ending unlimited grouping to the new test file.

I'm not sure when the grouping string is "\0"s which means grouping is not limited:

  • whether "17,,29" can be parsed without setting failbit, and
  • whether "0,x1729" should be parsed as a whole...

Unblocking one libcxx test:
- std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_long.pass.cpp
@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner May 7, 2023 16:29
@StephanTLavavej StephanTLavavej added the bug Something isn't working label May 7, 2023
@StephanTLavavej StephanTLavavej self-assigned this May 13, 2023
stl/inc/xlocnum Outdated Show resolved Hide resolved
stl/inc/xlocnum Outdated Show resolved Hide resolved
stl/inc/xlocnum Outdated Show resolved Hide resolved
tests/std/tests/GH_001277_num_get_bad_grouping/test.cpp Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej removed their assignment May 15, 2023
@barcharcraz barcharcraz removed their assignment May 16, 2023
@StephanTLavavej StephanTLavavej self-assigned this May 17, 2023
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@CaseyCarter CaseyCarter merged commit 1754c82 into microsoft:main May 18, 2023
@CaseyCarter
Copy link
Member

Thanks for helping to fix numerous problems in our number-parsing code.

@frederick-vs-ja frederick-vs-ja deleted the bad-grouping branch May 18, 2023 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<xlocnum>: We don't match numpunct groups correctly in do_get
4 participants