Skip to content

Do not begin constants with the characters that Ruby folded by mistake - #4534

Open
mame wants to merge 1 commit into
ruby:mainfrom
mame:case-fold-fixed-characters
Open

mame wants to merge 1 commit into
ruby:mainfrom
mame:case-fold-fixed-characters

Conversation

@mame

@mame mame commented Dec 5, 2026

Copy link
Copy Markdown
Member

Ruby's case fold tables folded ISO-8859-16 0xA4 (€), Windows-1250 0xD7 (×), and Windows-1252 0xAF (¯) and 0xD7 (×), so a name starting with one of them was read as a constant. ruby/ruby#19644 fixes the tables, and these names become local names.

https://bugs.ruby-lang.org/issues/22493

Ruby's case fold tables folded ISO-8859-16 0xA4 (€), Windows-1250 0xD7
(×), and Windows-1252 0xAF (¯) and 0xD7 (×), so a name starting with one
of them was read as a constant.  ruby/ruby#19644 fixes the tables, and
these names become local names.

https://bugs.ruby-lang.org/issues/22493

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant