// Copyright © SixtyFPS GmbH <info@sixtyfps.io>
// SPDX-License-Identifier: (GPL-3.0-only OR LicenseRef-SixtyFPS-commercial)
Comp := Rectangle {
property <Rectangle> r;
// ^error{'Rectangle' is not a valid property type}
}
Foo := Rectangle {
xx := Rectangle { }
Comp {
r: xx;
// ^error{Cannot assign to r in Comp}
}
}