Skip to content

Fix de-deduplication for closure debuginfo #27346

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
Jul 29, 2015
Merged

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Jul 28, 2015

Closure variables represent the closure environment, not the closure
function, so the identifier used to ensure that the debuginfo is unique
for each kind of closure needs to be based on the closure upvars and not
the function signature.

Closure variables represent the closure environment, not the closure
function, so the identifier used to ensure that the debuginfo is unique
for each kind of closure needs to be based on the closure upvars and not
the function signature.
@rust-highfive
Copy link
Contributor

r? @arielb1

(rust_highfive has picked a reviewer for you, use r? to override)

@dotdash
Copy link
Contributor Author

dotdash commented Jul 28, 2015

r? @michaelwoerister

@michaelwoerister
Copy link
Member

Thanks for the PR! I'll take a look at this as soon as I find the time.
On Jul 28, 2015 10:59 AM, =?ISO-8859-1?Q?Bj=F6rn_Steinbrink?= [email protected] wrote:r? @michaelwoerister

—Reply to this email directly or view it on GitHub.

@michaelwoerister
Copy link
Member

@bors: r+

@bors
Copy link
Collaborator

bors commented Jul 29, 2015

📌 Commit 218eccf has been approved by michaelwoerister

@michaelwoerister
Copy link
Member

Thanks, this is certainly more correct than what we do now, especially after closure type descriptions have been fixed.

@bors
Copy link
Collaborator

bors commented Jul 29, 2015

⌛ Testing commit 218eccf with merge 090ad6f...

bors added a commit that referenced this pull request Jul 29, 2015
Closure variables represent the closure environment, not the closure
function, so the identifier used to ensure that the debuginfo is unique
for each kind of closure needs to be based on the closure upvars and not
the function signature.
@bors bors merged commit 218eccf into rust-lang:master Jul 29, 2015
@michaelwoerister
Copy link
Member

👌🐤👍

@dotdash dotdash deleted the closure_dbg branch January 15, 2016 08:40
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