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

QML type rules are a little lax

    XMLWordPrintable

Details

    Description

      Given:

      CustomRectangle.qml

      import QtQuick 2.6
      
      Rectangle {}
      

      This should fail:

      import QtQuick 2.6
      
      Item {
          property CustomRectangle foo: Rectangle {
          }
      }
      

      But it does not.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes