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

special symbols in identifiers #3

Open
wtholliday opened this issue Jun 12, 2022 · 3 comments
Open

special symbols in identifiers #3

wtholliday opened this issue Jun 12, 2022 · 3 comments

Comments

@wtholliday
Copy link
Collaborator

Can't do this in swift:

image

@stschoen
Copy link

The flat glyph is in theUnicode block Miscellaneous symbols (Unicode U+ 266D). Looks like that's outside the allowable characters for an identifier per Swift 5.1 docs.

@wtholliday
Copy link
Collaborator Author

Thanks for looking that up @stschoen :)

@stschoen
Copy link

I'm not sure why they chose to exclude some blocks of unicode characters. If you look at the list of allowable characters, there are holes in the list. Some make sense like combining diacritical marks and spacing characters, but I see no reason for the others. Makes sense to someone I guess.

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

No branches or pull requests

2 participants