-
Notifications
You must be signed in to change notification settings - Fork 178
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
Ripper: incompatibility for uppercase UTF-8 constant names in aliases #3457
Comments
Thanks for the report. Possibly related to #3407 which is also about identifier types, but probably not because In general the Ripper C extension uses way too many internals and is quite slow with tons of upcalls, so we'd like to get rid of it and replace it by |
In aliases and many other cases, CRuby's Ripper emits different lexer tokens depending on the symbol's name. For instance an uppercase letter emits :@const instead of :@Ident.
TruffleRuby does this correctly for 7-bit constants like "A", but not for unicode uppercase constants like "Ñ".
CRuby:
TruffleRuby:
The text was updated successfully, but these errors were encountered: