Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.9.2
Description
Using following code causes error on QML compiler
property string toto :"0.5+1920" Item{ focus:true Keys.onPressed: { if(eval(toto)) { console.log(eval(toto)); } } }
And this is the error:
error: error: The use of the arguments object in signal handlers is not supported when compiling qml files ahead of time, because it may be ambiguous if any signal parameter is called "arguments". Unfortunately we cannot distinguish between it being a parameter or the JavaScript arguments object at this point. Consider renaming the parameter of the signal if applicable.