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

Reading a propertiy that doesn't exist in the QML scope returns undefined

    XMLWordPrintable

Details

    Description

      Example:

      import Qt 4.7
      Item {
      Component.onCompleted:

      { console.log(sorryNoSuchProperty); }

      }

      For consistency with "normal" JavaScript, and for symmetry with writing to undeclared properties, the above code should throw a ReferenceError.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            kenthans Kent Hansen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes