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

unicode: can't specify rune(s) to be invariant under a SpecialCase case change. #25636

Closed
splace opened this issue May 30, 2018 · 2 comments
Closed
Assignees
Milestone

Comments

@splace
Copy link

@splace splace commented May 30, 2018

What did you do?

built a unicode.CaseRange that specifies a rune(s) to be its own upper/lower case, by setting it to have a zero delta.

https://play.golang.org/p/u0fOaF41ah8

What did you expect to see?

no case change for rune(s) in the range.

What did you see instead?

special case ignored, rune changed according to default case change rules.

@bcmills
Copy link
Member

@bcmills bcmills commented May 30, 2018

CC @mpvl

@bcmills bcmills added this to the Go1.11 milestone May 30, 2018
@bradfitz bradfitz self-assigned this Jun 7, 2018
@gopherbot
Copy link

@gopherbot gopherbot commented Jun 7, 2018

Change https://golang.org/cl/117155 mentions this issue: unicode: fix SpecialCase to follow its docs & respect explict no-op mappings

@gopherbot gopherbot closed this in 05f8b44 Jun 17, 2018
@golang golang locked and limited conversation to collaborators Jun 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.