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

Fix tryparse for invalid Chars #32351

Merged
merged 1 commit into from
Jun 20, 2019
Merged

Conversation

c42f
Copy link
Member

@c42f c42f commented Jun 18, 2019

This fix adapts the fast path from UInt32(::Char) to the case of digit parsing.

Fixes #32314

@c42f c42f added strings "Strings!" bugfix This change fixes an existing bug labels Jun 18, 2019
This fix adapts the fast path from UInt32(::Char) to the case of digit
parsing.
@c42f c42f force-pushed the cjf/tryparse-fix-invalid-char-error branch from 68a0ab3 to c9a7871 Compare June 18, 2019 01:47
@c42f
Copy link
Member Author

c42f commented Jun 19, 2019

CI failures seem to be unrelated network and multiprocess problems.

@c42f
Copy link
Member Author

c42f commented Jun 20, 2019

Well, given #32314 (comment) I think I'll merge this.

@c42f c42f merged commit 510db13 into master Jun 20, 2019
@c42f c42f deleted the cjf/tryparse-fix-invalid-char-error branch June 20, 2019 05:01
KristofferC pushed a commit that referenced this pull request Jul 1, 2019
This fix adapts the fast path from UInt32(::Char) to the case of digit
parsing.

(cherry picked from commit 510db13)
@KristofferC KristofferC mentioned this pull request Jul 1, 2019
32 tasks
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
This fix adapts the fast path from UInt32(::Char) to the case of digit
parsing.

(cherry picked from commit 510db13)
@KristofferC KristofferC mentioned this pull request Aug 26, 2019
55 tasks
KristofferC pushed a commit that referenced this pull request Aug 26, 2019
This fix adapts the fast path from UInt32(::Char) to the case of digit
parsing.

(cherry picked from commit 510db13)
KristofferC pushed a commit that referenced this pull request Feb 20, 2020
This fix adapts the fast path from UInt32(::Char) to the case of digit
parsing.

(cherry picked from commit 510db13)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug strings "Strings!"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tryparse can throw InvalidCharError
2 participants