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

export X := Rectangle {
    eh := Invalid {
//        ^error{Unknown type Invalid}
        foo: 42;
    }
    width: eh.bhal;

    property <int> hello: eh.foo;
}
