-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Disallow dots in identifiers #1267
Disallow dots in identifiers #1267
Conversation
124e8a6
to
815fe9a
Compare
b843752
to
3a99f23
Compare
This is to avoid `alr printenv` printing invalid environment variable names, i.e. with leading dot.
3a99f23
to
e8da696
Compare
e8da696
to
ca5d04d
Compare
ca5d04d
to
a4937b8
Compare
@mosteo I didn't know we still allowed dots in crate names. |
This must have slipped through the cracks; it was certainly unintended at this point. |
So the proper patch would be to remove these extension separator remains in I'm quite surprised this has gone unnoticed for so long. |
Dots in identifiers are allowed by mistake. This commit forbids them completely, instead of just disallowing dots as the first character in crate name.
@mosteo No problemo. 😉 I've removed support for dots in identifiers completely. This affects index names too. I'm not sure if we want that as well, though. |
Thanks for the patience, @0rzech |
Fixes #1076.