Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5f7ecce23321f499b1b002c32a27c63815535baa (qt/qtdeclarative/dev)
Description
Now that both the Optional Chaining and Nullish Coalescing proposals reached stage 3 of the Ecma TC39 proposals process ( https://tc39.es/process-document/ ), what about implementing them?
Those are being implemented in TypeScript ( see https://github.com/microsoft/TypeScript/issues/16 && https://github.com/microsoft/TypeScript/pull/32883 ) meaning they are confident the proposals won't really change at this point (cf. https://github.com/microsoft/TypeScript/issues/33118 : "We hold a policy of not implementing features unless they reach stage 3 and we have high confidence in them." )
Both those new syntaxes will enable more expressive and declarative code in QML.
Attachments
Issue Links
- relates to
-
QTBUG-82989 Decide upon and document our stance on binding to parent in delegates
-
- Closed
-
-
QTBUG-128313 Implement Nullish coalescing assignment Operator in QML "??="
-
- Open
-
For Gerrit Dashboard: QTBUG-77926 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
283241,14 | qml/parser: Implement nullish coalescing | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
283774,9 | qml/parser: Implement optional chaining [WIP] | 5.15 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
341496,30 | Implement optional chaining | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |