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

Disallow juxtaposition with hex literals #23304

Closed
Keno opened this issue Aug 17, 2017 · 2 comments
Closed

Disallow juxtaposition with hex literals #23304

Keno opened this issue Aug 17, 2017 · 2 comments
Labels
breaking This change will break code parser Language parsing and surface syntax
Milestone

Comments

@Keno
Copy link
Member

Keno commented Aug 17, 2017

While juxtaposition is very useful for things like 2x, 100y, etc, it can get very confusing with hex literals:

0xapi # 0xa * pi
0xax
0xap0 # hexfloat literal

I propose disallowing juxtaposition of hex literals.

@Keno Keno added this to the 1.0 milestone Aug 17, 2017
@JeffBezanson JeffBezanson added breaking This change will break code parser Language parsing and surface syntax labels Aug 17, 2017
@JeffBezanson
Copy link
Member

Knew I'd seen this somewhere before: #16356

@Keno
Copy link
Member Author

Keno commented Aug 17, 2017

Closing as dup then, and I'll put that one on the milestone.

@Keno Keno closed this as completed Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change will break code parser Language parsing and surface syntax
Projects
None yet
Development

No branches or pull requests

2 participants