Skip to content

Fix a bug caching ids in the HIR lowering with nested lowered nodes #31037

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

Merged
merged 1 commit into from
Jan 21, 2016

Conversation

nrc
Copy link
Member

@nrc nrc commented Jan 20, 2016

Blocks #30884

r? @nikomatsakis

cc @durka

@durka
Copy link
Contributor

durka commented Jan 20, 2016

\o/

@nrc
Copy link
Member Author

nrc commented Jan 20, 2016

There were two bugs - we were not setting the gensym_key when entering a nested, cached node and we were not restoring the gensym_key when leaving a node.

@durka
Copy link
Contributor

durka commented Jan 20, 2016

That could explain why I got an ICE compiling libcore after fixing only one of those.

@nikomatsakis
Copy link
Contributor

@bors r+

@bors
Copy link
Collaborator

bors commented Jan 20, 2016

📌 Commit 7ffd408 has been approved by nikomatsakis

bors added a commit that referenced this pull request Jan 21, 2016
@bors
Copy link
Collaborator

bors commented Jan 21, 2016

⌛ Testing commit 7ffd408 with merge 4349cda...

@bors bors merged commit 7ffd408 into rust-lang:master Jan 21, 2016
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.

4 participants