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

compile failure when using empty lists

    XMLWordPrintable

Details

    Description

      The following QML doesn't run

      import Qt 4.6
      Item{
      transitions: [];
      }

      Instead it gets the error
      Cannot assign primitives to lists
      transitions: [];
      ^

      The file runs fine if the [] is replaced with [Transition{}]

      Presumably, the empty list should run as well.

      Attachments

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

        Activity

          People

            aakenned Aaron Kennedy
            aalpert-nokia Alan Alpert (closed Nokia identity) (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