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

Incorrect ref counting on nested block expressions #388

Closed
brson opened this issue May 18, 2011 · 0 comments
Closed

Incorrect ref counting on nested block expressions #388

brson opened this issue May 18, 2011 · 0 comments

Comments

@brson
Copy link
Contributor

brson commented May 18, 2011

auto x = {{[0]}}; drops the references on the vector too early and causes invalid memory access. This also affects else if constructs like

auto x = if (false) {
  [0]
} else if (true) {
  [0]
} else {
  [0]
};
@brson brson closed this as completed in b6d2fe4 May 20, 2011
keeperofdakeys pushed a commit to keeperofdakeys/rust that referenced this issue Dec 12, 2017
Factor common code out of the bitrig and openbsd modules

The new directory structure better reflects the historical relationship
of the BSDs, and includes 400 fewer duplicative lines of code.
dlrobertson pushed a commit to dlrobertson/rust that referenced this issue Nov 29, 2018
Stabilize 'attr_literals' feature.
GuillaumeGomez pushed a commit to GuillaumeGomez/rust that referenced this issue Feb 21, 2024
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

No branches or pull requests

1 participant