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

RFC: deprecate parsing * inside <<. part of #13079 #22859

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Conversation

JeffBezanson
Copy link
Sponsor Member

Fortunately it's possible to have a really smooth deprecation here, warning only for un-parenthesized uses of a<<b*c syntax, which I think makes this change quite palatable.

Another motivation for this change is that 1//2<<3 parses as (1//2)<<3, but there are no methods of << for Rational --- it's practically a method error built in to the syntax! This also makes the deprecation easier since we don't have to worry about those cases.

@JeffBezanson JeffBezanson added deprecation This change introduces or involves a deprecation parser Language parsing and surface syntax labels Jul 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation This change introduces or involves a deprecation parser Language parsing and surface syntax
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant