Skip to content

Incorrect ref counting on nested block expressions #388

@brson

Description

@brson

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]
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions