Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.2.0, 6.3, 6.4.0 FF
-
e5251efe97fd66431f8badeb3cdcb67586b2e015
Description
Current QQmlJSImportVisitor model assumes that we could create bindings as soon as we encounter them. In practice, this is problematic as the scope that the binding belongs to may not be resolved, yet. For instance,
import QtQuick Item { property IC p p.onXChanged: { // here, we haven't seen `IC` yet console.log("hooray"); } component IC : Text { property string x } }
Attachments
For Gerrit Dashboard: QTBUG-103897 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
412921,11 | Set bindings on QQmlJSScope after AST traversal | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |