Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.4.0 Beta1
Description
This basic function with a default argument works both interpreted and compiled:
function f(a = true) { }
Adding a type annotation like so
function f(a : bool = true) { }
breaks the interpreted run:
qml: Type annotations are not supported (yet).
But worse yet, qmlsc silently crashes on this line.
Attachments
Issue Links
- is duplicated by
-
QTBUG-105547 [QML] Default parameters with type annotations not supported
- Open