Skip to content

Incorrect block results from intermediate tuple #377

Description

@brson

In the following test case a contains 0 instead of 3.

fn main() {
  auto a = {
    auto b = tup(3);
    log_err b._0;
    b
  };

  log_err a._0;
  assert a._0 == 3;                                                                                                                             
}

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