// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

struct Foo {
    field: string
}

export component Testcase  {
    property <[Foo]> model;
    for item in model: Text {
        text <=> item.field;
//               ^error{Two-way bindings to model data is not supported yet}
    }
}
