-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is neededunicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings
Description
As mentioned in #5434, separate from the question of what unicode normalization we should use for identifiers, it would probably be a good idea to restrict the codepoints of valid identifiers. Currently, you can do crazy things like:
julia> ² = 1
1
julia> 2²
2
julia> 2= 1
1
julia> 1 + 2
2
julia> –3 = 3
3
julia> -3 + –3
0
Python 3's valid identifiers provide one possible model.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is neededunicodeRelated to unicode characters and encodingsRelated to unicode characters and encodings