Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.4
-
c0e0c755a1c927299607f0af83fadb4a0af6ce20 (qt/qtdeclarative/dev)
Description
Generators do not work when used inside a QML component, these are a part of ECMAScript 6 so they should be available. Whereas adding something like:
function* gen() { yield 2 yield 3 yield 5 }
to the QML will give the error:
Expected a qualified name id