/* LICENSE BEGIN This file is part of the SixtyFPS Project -- https://sixtyfps.io Copyright (c) 2020 Olivier Goffart Copyright (c) 2020 Simon Hausmann SPDX-License-Identifier: GPL-3.0-only This file is also available under commercial licensing terms. Please contact info@sixtyfps.io for more information. LICENSE END */ SuperSimple := Rectangle { property p1: 3s + 1ms; // ^warning{Properties of type duration are not supported yet for public API. The property will not be exposed.} property p2: 3s + 1; // ^error{Cannot convert float to duration} property p3: 3s - 1; // ^error{Cannot convert float to duration} property p4: 3 / 1ms; // ^error{Cannot convert \(ms⁻¹\) to int} property p5: 3ms * 1; // ^warning{Properties of type duration are not supported yet for public API. The property will not be exposed.} property p6: 3ms * 1s; // ^error{Cannot convert \(ms²\) to duration} // ^^warning{Properties of type duration are not supported yet for public API. The property will not be exposed.} property p7: "hello" * 1; // ^error{Cannot convert string to float} property p8: 1 - "hello" - 1; // ^error{Cannot convert string to float} property p9: 1 + "hello" + 1; property p10: "hello" + 1ms; // ^error{Cannot convert duration to string} property p11: 1ms * 1px *3px / 1deg * 3 / (30px * 1s - 3px * 1ms) * 2deg; property p12: 1ms * 3s / 3px / (2deg * 5turn) * 2s / 3phx; // ^error{Cannot convert \(ms³×phx⁻¹×px⁻¹×deg⁻²\) to int} }