Skip to content

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

Merged
bors merged 1 commit into
rust-lang:masterfrom
solson:exprkind-array
Jan 17, 2017
Merged

Rename ExprKind::Vec to Array in HIR and HAIR.#39090
bors merged 1 commit into
rust-lang:masterfrom
solson:exprkind-array

Conversation

@solson

@solson solson commented Jan 16, 2017

Copy link
Copy Markdown
Contributor

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

nagisa commented Jan 16, 2017

Copy link
Copy Markdown
Member

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

Oh its only HIR, nvmd.

@solson

solson commented Jan 16, 2017

Copy link
Copy Markdown
Contributor Author

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

eddyb commented Jan 16, 2017

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Jan 16, 2017

Copy link
Copy Markdown
Collaborator

📌 Commit a9f8f98 has been approved by eddyb

@bors

bors commented Jan 16, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit a9f8f98 with merge 24235f2...

@bors

bors commented Jan 16, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@eddyb

eddyb commented Jan 16, 2017

Copy link
Copy Markdown
Contributor

@bors retry

@bors

bors commented Jan 16, 2017

Copy link
Copy Markdown
Collaborator

⌛ Testing commit a9f8f98 with merge 94c0c6b...

@bors

bors commented Jan 16, 2017

Copy link
Copy Markdown
Collaborator

💔 Test failed - status-travis

@alexcrichton

alexcrichton commented Jan 16, 2017 via email

Copy link
Copy Markdown
Member

@bors

bors commented Jan 17, 2017

Copy link
Copy Markdown
Collaborator

⌛ 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

bors commented Jan 17, 2017

Copy link
Copy Markdown
Collaborator

☀️ 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