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

Assert on invalid code

    XMLWordPrintable

Details

    • e061c934d5 (qt/qtdeclarative/dev) bff6071e15 (qt/qtdeclarative/6.4) bff6071e15 (qt/tqtc-qtdeclarative/6.4) e061c934d5 (qt/tqtc-qtdeclarative/dev) e94c97c599 (qt/tqtc-qtdeclarative/6.2) d5e7e3970d (qt/qtdeclarative/6.3)

    Description

      The following QML code hits an assert:

      import QtQuick
      
      Item {
          id: testItem
          property font font
          onComplete {
              user.family: "Test"
              user.bold: true
          }
      }
      

      We get:

      ASSERT: "referencingObjectPropertyCache" in file /home/ulf/qt6dev-src/qtdeclarative/src/qml/qml/qqmlpropertycachecreator.cpp, line 98
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ulherman Ulf Hermann
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes