-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
breakingThis change will break codeThis change will break codeparserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Milestone
Description
I was messing around with how the syntax for the hexadecimal prefix works while thinking about #15731 and I found something entertaining:
julia> 0xenomorph
ERROR: UndefVarError: nomorph not defined
julia> xenomorph = 1
1
julia> 0xenomorph
ERROR: UndefVarError: nomorph not defined
julia> nomorph = 2
2
julia> 0xenomorph
28
julia> 0xgnomorph
ERROR: syntax: malformed expression
julia> 0xefnomorph
478
Maybe we should disallow juxtaposition with hexadecimals? Seems like it will just lead to confusion.
Metadata
Metadata
Assignees
Labels
breakingThis change will break codeThis change will break codeparserLanguage parsing and surface syntaxLanguage parsing and surface syntax