Details
-
Technical task
-
Resolution: Unresolved
-
P2: Important
Description
When using built-in JavaScript functions with arguments (e.g. "toFixed()", "isNan()", ...) then then qmlint shows an efficient code generation warning:
property real n: 10.2123 Text { text: n.toFixed(1).toString() }
:-1: error: MWBigNumberDoubleInputField.qml:3:10: Could not compile binding for text: Cannot generate efficient code for call to untyped JavaScript function