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
Attachments
For Gerrit Dashboard: QTBUG-77096 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
268283,8 | Support top level generator functions | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |