Skip to content

Vectors of resources are logged incorrectly by the shape glue #2614

Closed
@msullivan

Description

@msullivan

This program

resource mk(_x: int) { }

fn main() {
    let y = [mk(0), mk(1), mk(2), mk(3), mk(4)];
    log(error, y);
}

produces the following output:

rust: ~[res(0), res(, 1), res(, 2), res(, 3), res(, 4)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions