Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0
-
None
-
-
b77d2f7f0 (dev)
Description
qml compiler gives conflicting errors with regards to compiling javascript functions. See these three cases:
property var loadCustom : function(data)
// gives warning: Could not compile binding for loadCustom: Functions without type annotations won't be compiled [compiler]
property var loadCustom : function(data:var)
{ }
//gives error: Type annotations are not permitted in function parameters in JavaScript functions
property var loadCustom : function(data):void
//gives error: Type annotations are not permitted for the return value of JavaScript functions