TestCase := Rectangle { Path { LineTo { x: 100; y: 0; } LineTo { x: 100; y: 0; } LineTo { x: 100; y: 0; } Rectangle {} // ^error{Rectangle is not allowed within Path. Only ArcTo Close LineTo are valid children} } LineTo { x: 100; y: 0; } // ^error{LineTo can only be within the following elements: Path, PathLayout} }