Skip to content

Write barriers don't work for @mut #4825

Description

@pcwalton

cc @nikomatsakis

Test case:

struct Foo {
    x: ~[int]
}

fn main() {
    let x = @mut Foo { x: ~[ 1, 2, 3, 4, 5 ] };
    for x.x.each |x| {
        io::println(x.to_str());
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions