-
Task
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.8
-
None
For QTBUG-130575 , we need to ensure that closures still have access to scripts that were imported. However, that's only really needed if the closure captures them. In Runtime::Closure::call, that information is however not available, so we have to conservatively always reference the script array.
That should be changed, by tracking access to script imports (probably in ScanFunctions).
- is cloned by
-
QTBUG-130798 Closures capturing scripts should not (ab)use properties to keep the reference
-
- Reported
-
- relates to
-
QTBUG-130575 Javascript closure in QML does not directly capture imported modules
-
- Closed
-