Skip to content

Accept .<> as well as [] for type parameters #468

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

Closed
pcwalton opened this issue Jun 10, 2011 · 1 comment
Closed

Accept .<> as well as [] for type parameters #468

pcwalton opened this issue Jun 10, 2011 · 1 comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@pcwalton
Copy link
Contributor

I think ES4-style option.<int> type parameters have reached consensus. The >> ambiguity should be fixed as well; easiest solution IMO is just to define right shift as two consecutive greater-than signs.

@ghost ghost assigned graydon Jun 27, 2011
@marijnh
Copy link
Contributor

marijnh commented Aug 18, 2011

I guess this is done, with ::<> being used instead.

@marijnh marijnh closed this as completed Aug 18, 2011
pdietl pushed a commit to pdietl/rust that referenced this issue Apr 23, 2020
ZuseZ4 pushed a commit to EnzymeAD/rust that referenced this issue Mar 7, 2023
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

3 participants