-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
literals for invalid characters? #44646
Comments
Duplicate of #25072? |
Thanks! |
Actually, it's not quite the same. That issue is about overlong |
Yeah, maybe we can keep both open, but it seems to be the same underlying issue |
I did mention later in that issue supporting straight up invalid character literals. Jeff had some tips on where to start hacking it into the parser but I never got around to it. This would be nice to have. |
Fair enough, we can close this one. |
This seems weird:
Shouldn't you be able to enter
'\x...'
for such characters, so that the literal format matches therepr
?cc @StefanKarpinski, who designed
Char
in #24999.The text was updated successfully, but these errors were encountered: