Skip to content

Temporaries generated in alt expression have longer lifetime than expected #785

Closed
@brson

Description

@brson
{
  alt gimmeboxes() {
    _ { }
  }
  // The thing returned from gimmeboxes is still refed here
}

I would not expect it to outlive the alt expression. Will produce a better test case later.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions