Details
-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
It should be possible to resolve many global symbols at QML compile time, since QML takes pains to e.g. disallow shadowing global properties.
For example, lookup of Math in:
Item {
height: Math.max(valueA, valueB)
}
or qsTr in:
Text {
text: qsTr("Hello World") + LanguageUpdater.update
}
should be resolvable at component compilation.
Prior to V4 the optimizer handled a limited subset of these cases.
Attachments
Issue Links
- relates to
-
QTBUG-43096 QML instantiation performance decadence
-
- Closed
-
-
QTBUG-84341 ECMAScript / Javascript Engine builtin objects are immutable (frozen)
-
- Open
-