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

Rename ExprKind::Vec to Array in HIR and HAIR. #39090

Merged
merged 1 commit into from
Jan 17, 2017
Merged

Rename ExprKind::Vec to Array in HIR and HAIR. #39090

merged 1 commit into from
Jan 17, 2017

Conversation

solson
Copy link
Member

@solson solson commented Jan 16, 2017

This is a clearer name since they represent [a, b, c] array literals.

r? @eddyb

This is a clearer name since they represent [a, b, c] array literals.
@nagisa
Copy link
Member

nagisa commented Jan 16, 2017

Breaking every syntax extensions for no reason whatsoever, everyday, yay?

Oh its only HIR, nvmd.

@solson
Copy link
Member Author

solson commented Jan 16, 2017

Either way, it's not for no reason. Vec is a particularly misleading name for these variants.

We had a previous related PR but I guess it didn't do the entire job.

@eddyb
Copy link
Member

eddyb commented Jan 16, 2017

@bors r+

@bors
Copy link
Contributor

bors commented Jan 16, 2017

📌 Commit a9f8f98 has been approved by eddyb

@bors
Copy link
Contributor

bors commented Jan 16, 2017

⌛ Testing commit a9f8f98 with merge 24235f2...

@bors
Copy link
Contributor

bors commented Jan 16, 2017

💔 Test failed - status-travis

@eddyb
Copy link
Member

eddyb commented Jan 16, 2017

@bors retry

@bors
Copy link
Contributor

bors commented Jan 16, 2017

⌛ Testing commit a9f8f98 with merge 94c0c6b...

@bors
Copy link
Contributor

bors commented Jan 16, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

alexcrichton commented Jan 16, 2017 via email

@bors
Copy link
Contributor

bors commented Jan 17, 2017

⌛ Testing commit a9f8f98 with merge 31dee37...

bors added a commit that referenced this pull request Jan 17, 2017
Rename ExprKind::Vec to Array in HIR and HAIR.

This is a clearer name since they represent `[a, b, c]` array literals.

r? @eddyb
@bors
Copy link
Contributor

bors commented Jan 17, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: eddyb
Pushing 31dee37 to master...

@bors bors merged commit a9f8f98 into rust-lang:master Jan 17, 2017
@solson solson deleted the exprkind-array branch January 17, 2017 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants