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
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@splace
Copy link

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
Contributor

bcmills commented May 30, 2018

CC @mpvl

@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 30, 2018
@bcmills bcmills added this to the Go1.11 milestone May 30, 2018
@bradfitz bradfitz self-assigned this Jun 7, 2018
@gopherbot
Copy link

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

@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.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants