Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-138845

[REG 6.2 → 6.3] qmllint ignores lambda

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.10
    • 6.9.1
    • QML: Tooling
    • None

      For code like this:

      import QtQuick 2.0
      import QtQuick.Controls 2.15
      
      Rectangle {
          width: 100
          height: 100
          color: "red"
          border.color: "black"
          border.width: 5
          radius: 10
          Component.onCompleted: {
              dlg.aboutToHide.connect(() => {
                  callNotExistsFunction();
              });
          }
      
          Popup {
              id: dlg
          }
      
      }
      

      qmllint reports nothing about calling of not exists function.
      If use method of "Rectangle" qmllint reports about unqualified or if use some object,
      about not exists member.

        For Gerrit Dashboard: QTBUG-138845
        # Subject Branch Project Status CR V

            olivier.decanniere Olivier De Cannière
            evgeniy_dushistov evgeniy_dushistov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change