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

[REG 6.2 → 6.3] qmllint ignores lambda

XMLWordPrintable

    • a0a2a239d (dev), 469c1e5ba (6.10)

      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:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes